Closed kasper93 closed 11 hours ago
@na-na-hi: I actually had this patch in my local branch for a long time, you could check if you'd like, but for me it was working fine for long time.
Download the artifacts for this pull request:
With the fullscreen - maximize - set geometry 500x500 - unfullscreen sequence, the window no longer changes to the specified geometry after unfullscreen. Although current master doesn't unset the maximized state in this case so it's also wrong.
Maybe this time, it restores the size.
It still doesn't restore to the specified geometry for me.
It still doesn't restore to the specified geometry for me.
@na-na-hi: I've taken a look again at this. It seems to work correctly for me.
Window is 500x500 after this sequence. Could you help me reproduce the issue?
EDIT:
Or you mean at step 4. it should already go into 500x500 window? I think we have to align on the behavior here. Should set geometry
cancel fullscreen and/or window-maximized?
Or you mean at step 4. it should already go into 500x500 window?
Yes, this is the current expectation. Setting geometry unmaximizes the window to the specified size. If the window is fullscreen, it's applied when exiting fullscreen.
@na-na-hi forgot about this, could you test latest version?
With the newest version, the problem I mentioned before doesn't happen anymore, but now set window-maximized yes - set fullscreen yes - set fullscreen no
would unmaximize the window when exiting fullscreen, when it should return to maximized state.
With the newest version, the problem I mentioned before doesn't happen anymore, but now
set window-maximized yes - set fullscreen yes - set fullscreen no
would unmaximize the window when exiting fullscreen, when it should return to maximized state.
Does it work now for you?
Does it work now for you?
Yes, it's fixed now.
This remembers and sets window-scale when exiting maximized state. Also fixes not staying in maximized state when exiting fullscreen mode.
Fixes: #14126