Focused windows with title bars flushed top (maximized or in horizontally split) are resized after lock and login
Created by: eyrent
Environment: Fedora 37 on Wayland
Description of problem:
Windows that are maximized or that take all vertical space are resized after locking session (and logging back in) so that they end up "leaving space" for top panel, even though panel is set to Intellihide. This only happens to focused windows. I had this happen to Firefox, Text Editor and Terminal. Tested VSCode, Chrome and Files but that doesn't happen in those cases. Disabling intellihide fixes the issue
Steps to Reproduce:
- Install and enable the Hide Top Bar gnome extension.
- Open Firefox and maximize it. Alternatively it could be Terminal or Text Editor. Also, you can try when window is moved to the horizontal split position (left right) via shortcut (window takes all vertical space)
- Lock session with Super+L
- Unlock and restore session
Actual results:
Firefox (or Terminal or Text Editor)is resized and is not taking all vertical space anymore. Also, it looks as if the app "thinks" it is maximized because the shortcut for this doesn't work until you resize and reposition and try maximizing again. Only the focused window (before lock) is afected.
Expected results:
No window position or size is changed after lock.
Additional info:
- Attaching some screenshots to illustrate issue. I'm including 4 cases (two firefox, one terminal and one text editor. Each case has a before lock and after lock. I included an extra screen shot to show that the top bar extends to the space that resized windows leave.
- I don't remember having this problem before (I might be wrong)
- I thought it may have to do with firefox but other gnome app are affected.
Screenshots
Firefox (before locking, top bar un-hidden covers titlebar)
Firefox (after, locking you can see titlebars of other windows beneath)
Firefox (after locking, top bar un-hidden, titlebar no longer beneath top bar)
Firefox, left-right split, same behavior