[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13512: 24.3.50; Mini-window glitch with GTK
From: |
Dmitry Antipov |
Subject: |
bug#13512: 24.3.50; Mini-window glitch with GTK |
Date: |
Tue, 22 Jan 2013 18:55:41 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
On 01/22/2013 03:41 PM, Eli Zaretskii wrote:
Thanks. Next, I'd suggest to look at the backtrace and the parameters
it is called with, and compare that with a non-GTK build where this
problem doesn't happen.
[adding Jan to CC:]
I'm just curious about this bug's origin. For me, it's GTK3-only issue,
and everything works fine with GTK2; but the original report from Xue
notes GTK2.
I found that the size values returned by gtk_widget_get_preferred_size
in xg_update_tool_bar_sizes are different for GTK3 and GTK2. For GTK2,
width and height are always 47 and 44 pixels; for GTK3, it's 37x36 for
the first call to xg_update_tool_bar_size and 43x44 for the subsequent
calls. Visually the toolbar size doesn't change and it looks the same
between GTK2 and GTK3.
Finally, this seems to be a question for Jan: GTK3 docs says that the
handle box widget is obsolete
(http://developer.gnome.org/gtk3/stable/GtkHandleBox.html),
so why we prefer it for both GTK2 and GTK3?
Dmitry