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 700457 - Non-resizable dialogs do not honour default-width/default-height
Non-resizable dialogs do not honour default-width/default-height
Status: RESOLVED DUPLICATE of bug 681937
Product: gtk+
Classification: Platform
Component: Widget: Other
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-05-16 13:12 UTC by Emanuele Aina
Modified: 2013-05-23 12:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test program to show the difference between resizable and non-resizable dialogs (2.97 KB, application/octet-stream)
2013-05-16 13:12 UTC, Emanuele Aina
Details

Description Emanuele Aina 2013-05-16 13:12:22 UTC
Created attachment 244401 [details]
Test program to show the difference between resizable and non-resizable dialogs

Setting a default size with :default-width and :default-height works properly as long as the dialog is resizable. Once :resizable gets set to FALSE the dialog goes back to its minimum size.

In case that's expected I just find it pretty much surprising and should be documented along with the :resizable property and gtk_window_set_resizable().

Test program attached, runnign three dialogs: the resizable one has the desided size, setting :resize=FALSE in an idle callback shows that the dialog changes its size from the desired default one to the minimum one.
Comment 1 Matthias Clasen 2013-05-23 12:27:54 UTC

*** This bug has been marked as a duplicate of bug 681937 ***