Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844913 - gui-libs/gtk-4.6.4: Default window size with shadows is wrong on X11
Summary: gui-libs/gtk-4.6.4: Default window size with shadows is wrong on X11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://gitlab.gnome.org/GNOME/gtk/-/...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-42
  Show dependency tree
 
Reported: 2022-05-15 18:59 UTC by Pacho Ramos
Modified: 2022-05-26 09:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2022-05-15 18:59:19 UTC
In gnome 42 is more evident as more apps use gtk4 but, when using X11, people will see how the windows get progressively bigger every time they reopen them until they fill the whole screen

https://gitlab.gnome.org/GNOME/gtk/-/issues/4136

Maybe commented fix could be used:
https://gitlab.gnome.org/GNOME/gtk/-/issues/4136#note_1445168
Comment 1 Larry the Git Cow gentoo-dev 2022-05-26 09:44:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3595434921b923d7f67e33c08e8e1f231dab9afc

commit 3595434921b923d7f67e33c08e8e1f231dab9afc
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2022-05-26 09:42:34 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2022-05-26 09:43:52 +0000

    gui-libs/gtk: Fix default window sizes in X11
    
    Upstream fix to prevent gtk4 windows from growing forever in X sessions
    
    Closes: https://bugs.gentoo.org/844913
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../gtk/files/gtk-4.6.4-update-shadow-size.patch   |  33 ++++
 gui-libs/gtk/gtk-4.6.4-r1.ebuild                   | 217 +++++++++++++++++++++
 2 files changed, 250 insertions(+)