Opened 14 years ago
Closed 14 years ago
#5470 closed defect (fixed)
fullscreen moves dialogs below main window
Reported by: | bastiK | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
If you have detached toggle dialogs or relation dialog open and enter fullscreen mode (F11) the dialogs are no longer visible.
(However you can toggle again to bring them to the front. All new dialogs are shown normally.)
Even when exiting fullscreen mode, this stays the same.
Both for exclusive & non-exclusive fullscreen mode on gnome/linux.
Attachments (2)
Change History (9)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Yes, it does not matter if i use exclusive or non-exclusive mode. The only difference i notice: Using non-exclusive mode, it does not restore the window geometry when i return from fullscreen (which is a bug, i suppose).
Note that it is no problem to open a dialog when I'm already in fullscreen mode. They open normally and stay on top if i refocus main window. The problem is the process of switching to fullscreen or from fullscreen to normal view.
Each time I press F11 all dialog windows vanish. They are not hidden behind the main window, they are just gone. I suppose it has something to do with the frame getting disposed.
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
by , 14 years ago
Attachment: | FullscreenToggleAction.java.patch added |
---|
minor reorganizing for better "code looks"
by , 14 years ago
Attachment: | FullscreenToggleAction.java.2.patch added |
---|
prevBounds assignment was erroneously missing in the last patch..
comment:5 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Replying to bastiK:
Not sure if this is the best solution, but it works. :)
yep, it does in Windows as well. thanks for taking the unixoid steps.. i've just done some cosmetics, so the code is slicker for the next generation to read, if they do so :)
comment:6 by , 14 years ago
comment:7 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
It's not quite what you suggested, but similar.
I cannot reproduce the problem in windows xp (neither with the toggle dialogs nor with a relation dialog open - they all open up in front of the main window and also stay there if i refocus the main window) - are you sure it happens on non-exclusive mode under linux? A guess could be that the window manager automatically sets the main window of josm to AlwaysOnTop when java requests for fullscreen..
greetings