[Users] [Bug 4433] New: main window: GTK_CSD=1 causes window to grow with every restart
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Tue Jan 26 23:51:14 CET 2021
https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4433
Bug ID: 4433
Summary: main window: GTK_CSD=1 causes window to grow with
every restart
Product: Claws Mail (GTK3)
Version: GIT
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: UI
Assignee: users at lists.claws-mail.org
Reporter: srandall52 at sbcglobal.net
Created attachment 2169
-->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2169&action=edit
Get window size instead of allocation.
When running with GTK_CSD=1 to enable client side decoration, the main window
gets larger with every restart of the program. This appears to be due to using
gtk_widget_get_allocation, which apparently includes decoration space. The
correct call would be gtk_window_get_size, which returns an appropriate size
for the subsequent gtk_window_set_default_size. Attached patch fixes the main
window, but there are presumably others.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Users
mailing list