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 665596 - gtk_window_set_default_size() does not work on fixed-size windows
gtk_window_set_default_size() does not work on fixed-size windows
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: Other
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-12-05 14:05 UTC by John Lindgren
Modified: 2014-12-08 04:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case (636 bytes, text/x-csrc)
2011-12-05 14:05 UTC, John Lindgren
Details
Screenshots with various configurations (18.03 KB, image/png)
2011-12-05 14:12 UTC, John Lindgren
Details

Description John Lindgren 2011-12-05 14:05:23 UTC
Created attachment 202830 [details]
Test case

In both GTK+ 2.x and 3.x, gtk_window_set_default_size() does not work correctly with fixed-size windows (i.e., windows on which gtk_window_set_resizable(FALSE) has been called).  On GTK+ 2.x, the window instead goes to its minimum size.  On GTK+ 3.x, the window instead goes to the "natural" size of the widgets inside it.  I am attaching a simple test case; the bug appears when line 9 is uncommented.
Comment 1 John Lindgren 2011-12-05 14:12:59 UTC
Created attachment 202831 [details]
Screenshots with various configurations

Just noting that the GTK+ versions I have installed are 2.24.8 and 3.2.2.
Comment 2 Matthias Clasen 2014-12-08 04:50:54 UTC
this has always been the case. I don't think we can change it.