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 648136 - design refresh for gtkassistant
design refresh for gtkassistant
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-04-18 17:42 UTC by William Jon McCann
Modified: 2011-05-06 19:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtk-demo: Don't leave a dangling pointer to a destroyed widget (856 bytes, patch)
2011-04-18 17:47 UTC, William Jon McCann
none Details | Review
Add gtk_container_child_notify (4.85 KB, patch)
2011-04-18 17:47 UTC, William Jon McCann
none Details | Review
GtkAssistant: an new style for assistants (60.07 KB, patch)
2011-04-18 17:47 UTC, William Jon McCann
none Details | Review
testassistant: some more tests (3.62 KB, patch)
2011-04-18 17:47 UTC, William Jon McCann
none Details | Review
Use a different style class for the assistant sidepane (1.56 KB, patch)
2011-04-18 17:47 UTC, William Jon McCann
none Details | Review
another patch (3.24 KB, patch)
2011-04-26 17:12 UTC, Matthias Clasen
none Details | Review
final patch (2.23 KB, patch)
2011-04-29 22:16 UTC, Matthias Clasen
none Details | Review

Description William Jon McCann 2011-04-18 17:42:34 UTC
The gtkassistant hasn't gotten a lot of love over the years.  Besides giving it a hug it might be nice to support showing progress through the sequence.  Showing progress is reassuring and helps set expectations.

Here's a mockup:
https://docs.google.com/drawings/pub?id=1JcYvb76IXpod7atLW3IVYNrY8b1fZktjOJR-uxp1S48&w=1257&h=1859
Comment 1 William Jon McCann 2011-04-18 17:47:06 UTC
Created attachment 186218 [details] [review]
gtk-demo: Don't leave a dangling pointer to a destroyed widget

When destroying the assistant, clean up the static variable
that points to it.
Comment 2 William Jon McCann 2011-04-18 17:47:08 UTC
Created attachment 186219 [details] [review]
Add gtk_container_child_notify

This is a variant of gtk_widget_child_notify() that takes an
explicit container, instead of relying on widget->parent to
be the correct container to use.
Comment 3 William Jon McCann 2011-04-18 17:47:11 UTC
Created attachment 186220 [details] [review]
GtkAssistant: an new style for assistants

GtkAssistant is widely recognized as a butt-ugly widget.

This commit changes its style to look more modern. We
deprecate the sidebar and header image properties and
don't show them anymore. Instead, page titles are arranged
in a sidebar, with the title of the current page shown
in highlighted style.
Comment 4 William Jon McCann 2011-04-18 17:47:13 UTC
Created attachment 186221 [details] [review]
testassistant: some more tests
Comment 5 William Jon McCann 2011-04-18 17:47:16 UTC
Created attachment 186222 [details] [review]
Use a different style class for the assistant sidepane

So we don't have to tie it directly to how we style
nautilus etc sidebars.
Comment 6 William Jon McCann 2011-04-18 20:35:34 UTC
Still has a few issues with builder constructed dialogs (eg. gnome-bluetooth's bluetooth-wizard).
Comment 7 Matthias Clasen 2011-04-25 11:46:19 UTC
What kind of issues are you seeing ? 
And how does being gtkbuilder-constructed relate ?
Comment 8 Matthias Clasen 2011-04-26 17:12:35 UTC
Created attachment 186673 [details] [review]
another patch

The problems in bluetooth-wizard are because it uses gtkbuilder, which in turn uses generic container api to set child properties. So, if we decide to allow child properties on non-direct children, we have to make the generic api work for this too.
Comment 9 Matthias Clasen 2011-04-29 22:16:02 UTC
Created attachment 186911 [details] [review]
final patch

The last patch hides consecutive identical page titles, which can make non-linear flows like

1
2a or 2b
3
4

a little more natural.
I am happy with the way things look now.
Comment 10 William Jon McCann 2011-04-30 20:46:03 UTC
The last chunk of the final patch doesn't seem to apply.
Comment 11 Matthias Clasen 2011-05-02 16:03:15 UTC
Probably because I did those patches against the gtk-3-0 branch for some reason.