[Gambas-user] Quirky Showmodal from Full Screen Mode
cedron at exede.net
Tue Jun 11 00:09:56 CEST 2019
Here is an issue that I have run into, but I am not the first:
Okay, I have Linux Mint 17 Mate.
So, create a Qt or Gtk project (or download attached). Add a second form, accept the default name. Put this in the main form code:
Public Sub Form_KeyPress()
Select Case Key.Code
Me.FullScreen = Not Me.FullScreen
Form1.title = Str(Now)
Run the project. Press  a few times, works as expected.
When the form is not full screen, press , works as expected.
Close the second form by clicking its 'x'.
Press  to go into full screen. works as expected.
Now things don't work any more. The form apparently opens, but it is hidden by the full screen form instead of showing. Even though the full screen form is on top it doesn't have focus and thus will not take any keystrokes.
To get out, I have to "Alt-Tab' to the IDE and stop the program.
What to do?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11702 bytes
Desc: not available
More information about the User