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 740027 - vte based terminal window gets smaller every time resume from fullscreen
vte based terminal window gets smaller every time resume from fullscreen
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2014-11-12 17:27 UTC by Ruei-Yuan Lu
Modified: 2015-06-24 00:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Get border back first (1.10 KB, patch)
2014-11-13 15:33 UTC, Ruei-Yuan Lu
none Details | Review

Description Ruei-Yuan Lu 2014-11-12 17:27:25 UTC
Hi,

This bug effects gnome-terminal and xfce4-terminal.

To reproduce this problem, just open gnome-terminal and press F11 many times. Its window will get smaller and smaller until the minimal size by size hint.

In src/core/window.c: meta_window_unmake_fullscreen 


If I commented out 


src/core/window.c:3216 ensure_size_hints_satisfied (&target_rect, &window->size_hints);


, the problem is gone. But 'git blame' shows this line exists for many years.

PS: Metacity doesn't have this problem.


BR
Comment 1 Jasper St. Pierre (not reading bugmail) 2014-11-13 01:54:45 UTC
Fixed by https://git.gnome.org/browse/mutter/commit/?id=286a6ada5a307e7e9c55b06f7593e6b7bff4f2de
Comment 2 Ruei-Yuan Lu 2014-11-13 15:33:08 UTC
Created attachment 290645 [details] [review]
Get border back first
Comment 3 Ruei-Yuan Lu 2014-11-13 15:35:17 UTC
Comment on attachment 290645 [details] [review]
Get border back first

We need to get border back first;otherwise meta_window_frame_rect_to_client_rect takes no effect.
Comment 4 Jasper St. Pierre (not reading bugmail) 2015-06-24 00:07:37 UTC
Fixed by https://git.gnome.org/browse/mutter/commit/?id=d74b0d5be85f61327bf48cfe27dd7eb928544fef