Emulator zoom/scroll still does not persist on windows

26 views
Skip to first unread message

Gareth Murfin

unread,
Jan 9, 2018, 6:34:44 AM1/9/18
to CodenameOne Discussions
Almost every simulator is bordering on useless for normal (rapid) dev because each time you launch it you need to spend ages making it the right size and changing the window sizes. This means for quick testing I am stuck using the nexus 1 and iphone 3gs, because their resolutions fit my screen without messing around. I still have to move it to the right place each time. 

A great fix would be the simulators always appear in the position/zoom you left them in. Also why cant we reuse the same simulator ? Once over this was super fast compared to Android, but now id say if you have to quit and relaunch every single time, then maneuver the window then it is no longer faster than android dev, where the emulator can be reused.

I will write my own skin if you can specify zoom, position and window size. I think we spoke of this before and it was something to do with windows losing the prefs or something. But it would be a very good fix to make this feel better for windows users I think.

Shai Almog

unread,
Jan 10, 2018, 12:28:37 AM1/10/18
to CodenameOne Discussions
Scrollable has always persisted and still does.
Zoom is now a synonym to scrollable so I'm guessing you turned it on then turned it off when you pressed zoom.

Gareth Murfin

unread,
Jan 10, 2018, 2:25:56 AM1/10/18
to CodenameOne Discussions
Ok scrollable seems to persist, but what is the point of it? Why does it even exist? You are expecting users to scroll up and down the emulator? Why would anyone do that? Scrollable doesnt need to be a feature, zoom does, and should persist, as should window size.  It seems like you aren't really interested in making the simulators convenient to use, and I dont understand why. This means most will be stuck on the 2 tiny old emulators for nexus and iphone3, which is a shame because all the other ones look cool.

Shai Almog

unread,
Jan 11, 2018, 2:01:48 AM1/11/18
to CodenameOne Discussions
Smaller skins work great especially on retina grade laptops.
Scrollability is the only thing you really need. When it's off you can get any size you want but display has artifacts. When it's on you get pixel perfect rendering.

Gareth Murfin

unread,
Jan 16, 2018, 12:05:19 AM1/16/18
to CodenameOne Discussions
If you try any skin on a windows machine with 1920x1080 resolution you will see what I mean, I think your high res retina screen shields you from the issue :)

Shai Almog

unread,
Jan 17, 2018, 12:20:39 AM1/17/18
to CodenameOne Discussions
We only recently added support for retina macs so I always had scrollable turned on. This works for me just fine. It's possible you have an issue in the JavaSE preferences API on your machine and settings aren't saved.
Reply all
Reply to author
Forward
0 new messages