After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 707378 - Large windows are maximized automatically on start; breaks with multihead
Large windows are maximized automatically on start; breaks with multihead
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-09-03 12:33 UTC by Kamil Páral
Modified: 2021-07-05 14:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gedit-pidgin.webm (1.50 MB, video/webm)
2013-09-03 12:33 UTC, Kamil Páral
Details
gedit on single head (97.84 KB, image/png)
2015-01-13 15:12 UTC, Kamil Páral
Details
multihead problem on GNOME 3.14 (322.11 KB, image/jpeg)
2015-01-13 15:15 UTC, Kamil Páral
Details
multihead problem on GNOME 3.14 (2nd example) (301.63 KB, image/jpeg)
2015-01-13 15:16 UTC, Kamil Páral
Details

Description Kamil Páral 2013-09-03 12:33:11 UTC
For some reason, if I close a large window (occupying 80-90% of the screen space) and open the app again, the window is maximized on start. Tested with gedit, virt-manager and other windows.

This is very inconvenient if I want to have a very small window by the side of the screen (like IM window) and the rest of the screen occupied by something else (browser, code editor, etc). Every time I open the app, it's maximized and I have to demaximize it and adjust the window size.

See gedit-pidgin.webm video.

Is there a reason for this behavior, or is it a bug?

Also, with two monitors with different resolutions, the problem is even worse. The height of any window can't be resized to be larger than the smallest monitor available. If the window is larger, its height is not remembered and it's shrunk on the next startup. Window width doesn't seem to be affected.

Also, the auto-maximizing compares the smallest screen available, not the current screen. So if I have very small built-in screen and a very large external monitor, if I enlarge the window on the external monitor just slightly, it often starts maximized the next time. I have to demaximize it again every time.

See dual-head.webm video.

If I disable my built-in screen, the height problem is fixed, but auto-maximizing persists.

See single-monitor.webm video.


This has been originally reported as:
https://bugzilla.redhat.com/show_bug.cgi?id=994469

gnome-shell-3.8.4-2.fc19.x86_64
Comment 1 Kamil Páral 2013-09-03 12:33:33 UTC
Created attachment 253967 [details]
gedit-pidgin.webm
Comment 2 Kamil Páral 2013-09-03 12:44:04 UTC
dual-head.webm:
http://www.youtube.com/watch?v=tEpQnbHstVk

single-monitor.webm:
http://www.youtube.com/watch?v=6SG05A-I3SQ

Note: I have tested all of this also in a profile with no gnome-shell extensions. No improvement.
Comment 3 Kamil Páral 2015-01-13 15:10:27 UTC
One and a half year later, this bug is still very much present. And it's even worse, because my external screen has a higher resolution now, while the main (laptop) screen is still the same. So even though the gedit window occupies less than a half of the screen on my external monitor, after closing and reopening, it maximizes over the whole screen.

gnome-shell-3.14.3-1.fc21.x86_64
Comment 4 Kamil Páral 2015-01-13 15:12:10 UTC
Created attachment 294442 [details]
gedit on single head

The same example from GNOME 3.14. If I close the gedit window and start again, it starts maximized. I need to shrink it by ~20% first, then close it, and after reopening it restores its previous size, instead of maximizing itself.
Comment 5 Kamil Páral 2015-01-13 15:15:38 UTC
Created attachment 294443 [details]
multihead problem on GNOME 3.14

This is an example of multihead problem on GNOME 3.14. If I close that gedit window and reopen again, it maximizes over the whole right screen. That doesn't happen with single head, but happens on multi head. I believe the reason is that the size of that gedit window is roughly the same as the size of the left monitor, and gnome-shell doesn't care properly on which screen I'm launching that window. It compares against both (or maybe just the left, or laptop screen), and thinks it should maximize the window because it's "close to maximum size".
Comment 6 Kamil Páral 2015-01-13 15:16:53 UTC
Created attachment 294444 [details]
multihead problem on GNOME 3.14 (2nd example)

The same example as above, but this time the gedit window is horizontal, so you can easily see it's almost the same size as the left screen. Again, if I close it and reopen it, it maximizes on the right screen.
Comment 7 GNOME Infrastructure Team 2021-07-05 14:45:22 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.