Comment 46 for bug 1961508

Revision history for this message
In , fabriciol.castillo (fabriciol.castillo-redhat-bugs) wrote :

Created attachment 1934127
12 screenshots

Description of problem:
Windows that are maximized or that take all vertical space are resized after lock (and logging back in) so that they "leave space" for top panel, even though panel is set to auto-hide (via Hide Top Bar extension). 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.

How reproducible:
I cannot be certain if this affects other apps cause I couldn't carry out more extensive tests. However, as it affects those important apps (for me) it is a bit annoying (enough to report).

Steps to Reproduce:
1. Install and enable the Hide Top Bar gnome extension.
2. 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)
3. Lock session with Super+L
5. 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 thought it may have to do with firefox but other gnome app are affected.