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 649678 - GtkAssistant warnings
GtkAssistant warnings
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: User Accounts
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-07 18:19 UTC by Bastien Nocera
Modified: 2011-06-10 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a patch (4.22 KB, patch)
2011-05-09 02:20 UTC, Matthias Clasen
none Details | Review
updated patch (3.84 KB, patch)
2011-05-09 11:50 UTC, Matthias Clasen
none Details | Review

Description Bastien Nocera 2011-05-07 18:19:01 UTC
Launching "gnome-control-center user-accounts" in master, I get the following warnings:

(gnome-control-center:21260): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child GtkCellView 0x15997b0. Allocation is 96x22, but minimum required size is 97x22.

And the left hand-side of the wizard is a big gaping white space.
Comment 1 Matthias Clasen 2011-05-07 18:23:51 UTC
> And the left hand-side of the wizard is a big gaping white space.

Theming issue, I guess. Is this with Adwaita or with Raleigh, or with a mixture ?
The sidebar is supposed to show a list of page titles, with the current page emphasized.
Comment 2 Matthias Clasen 2011-05-07 18:24:18 UTC
The underallocation warnings are unrelated and harmless.
Comment 3 Matthias Clasen 2011-05-09 02:20:31 UTC
Created attachment 187487 [details] [review]
a patch

Here is a patch that makes the fingerprint assistant work better with the new-style GtkAssistant.

Changes include:

- Set a separate page title for each step

- Don't set header images - no longer used by GTK+

- Don't poke at GtkAssistant internals

- Avoid resizing the window when the status message changes
Comment 4 Matthias Clasen 2011-05-09 11:50:08 UTC
Created attachment 187500 [details] [review]
updated patch
Comment 5 Bastien Nocera 2011-06-10 16:58:31 UTC
commit 5ffae5b569dd80543b4466daec9abef4be06d36a
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Fri Jun 10 17:57:29 2011 +0100

    user-accounts: Fix fingerprint assistant
    
    https://bugzilla.gnome.org/show_bug.cgi?id=649678