Problem with Fullscreen - solved
Posted: Sun Aug 07, 2016 3:49 pm
With the current beta it is not possible to run the saved application in windowed mode. It seems that ZApplication.FullScreen is always applied even if the checkbox is unchecked. Setting ZApplication.ScreenMode just influences the resolution of viewport spread over the whole screen.
When runing with ZApplication.ShowOptionsDialog, the dialog initially shows the checkbox unchecked, even if it behaves as if checked. After clicking on it, the checkbox does not change, but it became actually unchecked internally. After this first click, the checkbox shows values correctly.
To reproduce the problem:
1. Create new empty project -> no problem, it runs in window 800x600.
2. Save it.
3. Run it again -> it runs in fullscreen .
Older projects saved previously work fine. I thing the problem is in saving a project.
I'm running on Windows 10 with AMD FirePro M2000 having (hopefully) the latest drivers.
My testing project:
When runing with ZApplication.ShowOptionsDialog, the dialog initially shows the checkbox unchecked, even if it behaves as if checked. After clicking on it, the checkbox does not change, but it became actually unchecked internally. After this first click, the checkbox shows values correctly.
To reproduce the problem:
1. Create new empty project -> no problem, it runs in window 800x600.
2. Save it.
3. Run it again -> it runs in fullscreen .
Older projects saved previously work fine. I thing the problem is in saving a project.
I'm running on Windows 10 with AMD FirePro M2000 having (hopefully) the latest drivers.
My testing project:
Code: Select all
<?xml version="1.0" encoding="iso-8859-1" ?>
<ZApplication Name="App" Caption="BBB" ScreenMode="1" MouseVisible="255" FileVersion="2" AndroidPackageName="com.rado1.bbb"/>