GNOME Bugzilla – Bug 740027
vte based terminal window gets smaller every time resume from fullscreen
Last modified: 2015-06-24 00:07:37 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
Fixed by https://git.gnome.org/browse/mutter/commit/?id=286a6ada5a307e7e9c55b06f7593e6b7bff4f2de
Created attachment 290645 [details] [review] Get border back first
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.
Fixed by https://git.gnome.org/browse/mutter/commit/?id=d74b0d5be85f61327bf48cfe27dd7eb928544fef