Modify

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)

FullscreenToggleAction.java.patch (3.3 KB ) - added by anonymous 14 years ago.
minor reorganizing for better "code looks"
FullscreenToggleAction.java.2.patch (3.3 KB ) - added by cmuelle8 14 years ago.
prevBounds assignment was erroneously missing in the last patch..

Download all attachments as: .zip

Change History (9)

comment:1 by anonymous, 14 years ago

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

comment:2 by bastiK, 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 bastiK, 14 years ago

Resolution: fixed
Status: newclosed

(In [3543]) fixed #5470 - fullscreen moves dialogs below main window

comment:4 by bastiK, 14 years ago

Not sure if this is the best solution, but it works. :)

by anonymous, 14 years ago

minor reorganizing for better "code looks"

by cmuelle8, 14 years ago

prevBounds assignment was erroneously missing in the last patch..

in reply to:  4 comment:5 by anonymous, 14 years ago

Resolution: fixed
Status: closedreopened

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 bastiK, 14 years ago

(In [3551]) see #5470 (patch by Christian Müller) - cosmetics for FullscreenToggleAction

comment:7 by bastiK, 14 years ago

Resolution: fixed
Status: reopenedclosed

It's not quite what you suggested, but similar.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.