Auto-maximize is over eager
Affected version
OS: Fedora release 36 (Thirty Six) x86_64
Kernel: 5.17.6-300.fc36.x86_64
DE: GNOME 42.0
WM: Mutter
Dell XPS 15 laptop with internal monitor + external (different resolutions but both at 100% scaling)
Bug summary
With org.gnome.mutter auto-maximize
set to true (as per default), new windows are often opened maximised when they shouldn't be
Steps to reproduce
-
Configure an application's new window size to be significantly smaller than the full screen
(eg. Kitty with preset initial_window_width 120c & initial_window_height 400c in kitty.conf, but not limited to Kitty - eg. the Gnome settings app is also often auto-maximised)
-
Start that application (or open a new window for a running application)
What happened
Some new windows open at the configured size, some maximised. There isn't an obvious pattern to when each scenario happens.
What did you expect to happen
I would have expected new windows to open at the configured size
Relevant logs, screenshots, screencasts etc.
This behaviour goes away (ie. all happens as expected) if I set org.gnome.mutter auto-maximize false
,
which is why I've described this as a problem with auto-maximize.