I wrote a small test application as attached. Basically a standard GUI application with some screens. To end the application I added an standard exit dialog. Everything works fine when I am runnung the application in window-mode.
I am working in an Kubuntu 7.04 environment.
When starting in FullScreen Mode I get a problem:
When I click the Exit-Button the Dialog Pops up, but the Main Window is always in Front. (I see this just by checking using ALT-TAB). There is no chance to get the window in the front and give it the focus.
I tried NoTopMost() as well, but it does not work.
When testing the same application in Windows everything works as expected.
Has anyone an idea what I am doing wrong ? Or what is wrong ?
I wrote a small test application as attached. Basically a standard GUI application with some screens. To end the application I added an standard exit dialog. Everything works fine when I am runnung the application in window-mode.
I am working in an Kubuntu 7.04 environment.
When starting in FullScreen Mode I get a problem:
When I click the Exit-Button the Dialog Pops up, but the Main Window is always in Front. (I see this just by checking using ALT-TAB). There is no chance to get the window in the front and give it the focus.
I tried NoTopMost() as well, but it does not work.
When testing the same application in Windows everything works as expected.
Has anyone an idea what I am doing wrong ? Or what is wrong ?
Unfortunately, in X11, it is not possible to mix "fullscreen" and non-fullscreen windows.
If you would needed some dialog in your fullscreen application, I recommend to emulate it using the child widget (adding/removing child from fullscreen application would be equivalent to opening/closing window).