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 387972 - gtkassistant drawing problem
gtkassistant drawing problem
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 500450 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-12-20 18:02 UTC by Christian Persch
Modified: 2008-06-11 17:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use absolute coordinates in size_allocate() (2.97 KB, patch)
2007-08-14 09:26 UTC, Vincent Geddes
committed Details | Review

Description Christian Persch 2006-12-20 18:02:30 UTC
Steps to reproduce:
0) Add a GtkAssistant widget to your project in glade3
1) Select first child

Results:
The assistant is cut-off in the embedded view (the buttons are partially outside the view).
Comment 1 Jerry Yu 2007-08-14 06:26:58 UTC
Is there any guy to fix this bug? I think it's a critical problem which should be fixed asap. Otherwise, the applications which plan to use GtkAssistant will have to give up it. 
Comment 2 Vincent Geddes 2007-08-14 09:24:17 UTC
This patch for GtkAssistant fixes the problem. Now we need to to speak to the GTK+ devs about accepting it into GTK+.
Comment 3 Vincent Geddes 2007-08-14 09:26:13 UTC
Created attachment 93632 [details] [review]
Use absolute coordinates in size_allocate()
Comment 4 Jerry Yu 2007-08-14 10:13:31 UTC
Hi, Vincent

Do you know how to resolve this problem:
There's a GtkAssistant class in the .glade file. After building 
successfully, there's an error output at running: libglade-WARNING **: unknown widget class 'GtkAssistant'

My libglade version is 2.6.2,  glade-3 version is 3.3.1, gtk+ version is
2.10.12

Thanks in advance.
Comment 5 Vincent Geddes 2007-08-14 10:19:32 UTC
libglade does not support any of the new widgets which were released as part of GTK+ 2.10.

We are all waiting to use the new GtkBuilder API which is going to deprecate libglade. That will be released with GTK+ 2.12. There is a script in GTK+ 2.12 which will convert your glade file (with GtkAssistant objects) to a GtkBuilder-compatible file.
Comment 6 Vincent Geddes 2007-08-14 10:25:08 UTC
Oh, but there is a plugin facility for libglade, so you could manually add support for GtkAssistant.

Don't know the specifics, but the libglade Reference Manual talks more about it. One of the relevant functions is `glade_register_widget()'
Comment 7 Christian Persch 2007-11-11 13:02:17 UTC
Let's move this to gtk+ so the patch will be noticed by gtk maints.
Comment 8 Matthias Clasen 2008-05-24 20:29:13 UTC
        Bug 387972 – gtkassistant drawing problem

        * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
        GtkAssistant work better in glade.
Comment 9 Christian Persch 2008-06-11 17:38:15 UTC
*** Bug 500450 has been marked as a duplicate of this bug. ***