Re: GTK 3 support status
- From: Tristan Van Berkom <tvb gnome org>
- To: John Lindgren <john lindgren aol com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GTK 3 support status
- Date: Mon, 5 Dec 2011 23:27:24 +0900
On Mon, Dec 5, 2011 at 11:18 PM, John Lindgren <john lindgren 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]