On Mon, Dec 5, 2011 at 11:18 PM, John Lindgren <john.lindg...@aol.com> wrote:
> It looks to me as though there are 3 separate problems contributing here:
>
> 1. GtkLabel does not take into account gtk_widget_set_size_request() when
> reporting its "natural" size:
> https://bugzilla.gnome.org/show_bug.cgi?id=662043

Not a bug.

No widgets should ever peek at the explicit user set size request to
implement the size negotiation vfuncs.

Those are handled in GtkWidgetClass.adjust_size_request() base class
implementation.

>
> 2. Nor does it take into account gtk_label_set_width_chars():
> https://bugzilla.gnome.org/show_bug.cgi?id=665560

It does, width-chars, as always, only effects the minimum size, not
the natural size.

>
> 3. GtkWindow ignores gtk_window_set_default_size() and instead goes to its
> "natural" size if the window is not resizable:
> https://bugzilla.gnome.org/show_bug.cgi?id=665596

As I mentioned in the previous mail, I believe this has *always* been the case,
GtkWindow always shrinks down to minimum size (or now in GTK+3 'natural size')

This is how you get the shrinking dialogs when closing the expander in them
(for non-resizable windows).

However, it could be considered a bug, one would expect GtkWindow to make
an attempt to honor a user set default size for a non-resizable window.

Perhaps it's even a regression from GTK+2, not so sure.

Cheers,
         -Tristan
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to