GNOME Bugzilla – Bug 572324
Create a New Image dialog does not resize during first use
Last modified: 2009-02-20 00:27:10 UTC
Please describe the problem: The first time GIMP is started, clicking on the "Advanced Options" line in the "Create a New Image" dialog does not resize the window. The previously hidden options are drawn under the Help, Reset, Cancel and Ok buttons. The same effect can be observed after resetting the window positions. Steps to reproduce: 1. start gimp 2.6.5 and reset the saved window position 2. quit and restart gimp 3. select File/New in the menu or CTRL-N 4. click on the line "Advanced Options Actual results: the window is not resized when the previously hidden fields become visible. Expected results: Does this happen every time? Other information: gimp 2.6.5 compiled from gimp sources on Ubuntu 8.10 (amd64) My gtk2.0 is 2.14.4-0ubuntu
Created attachment 129015 [details] screenshot showing the advanced option fields drawn without resizing the dialog
Looks like a GTK+ issue, or the window manager. I don't think GIMP is doing anything special here. What window manager are you using? Can you try a different one? Would updating gtk+ be an option?
Same expander issue as this other bug. Also happens on first expanding only. *** This bug has been marked as a duplicate of 555025 ***
I am using the metacity package from ubuntu (1:2.24.0-0ubuntu1). I just tried openbox and the bug is still there. Here are the informations provided by 'xwininfo -size' During the first run before clicking "Advanced Options": Normal window size hints: User supplied location: 2047491648, 32767 Program supplied minimum size: 0 by 0 Program supplied maximum size: 382 by 275 Program supplied window gravity: NorthWestGravity No zoom window size hints defined During the first run after clicking "Advanced Options" (so after resizing failed): Normal window size hints: User supplied location: 0, 0 Program supplied minimum size: 0 by 0 Program supplied maximum size: 382 by 499 Program supplied window gravity: NorthWestGravity No zoom window size hints defined During the second run (when everything works fine) Normal window size hints: User supplied location: 0, 0 Program supplied location: 0, 0 Program supplied minimum size: 382 by 275 Program supplied maximum size: 382 by 275 Program supplied window gravity: NorthWestGravity No zoom window size hints defined The strange value 2047491648 in the first run is random. I just retried and I now got this: User supplied location: 875630768, 32767 There is obviously a bug in the way gimp (or gtk+) sets the window hint when no position is saved for that window. I also noticed that during the first run, any attempt to maximize the dialog results in the window being moved to position +0+0 but still without being resized. In the following runs, the maximize even is ignored as it should be.
I can also reproduce the problem on my laptop running Ubuntu Jaunty (i686): libgtk2.0-0 2.15.3-ubuntu3 gimp 2.6.4-1untuntu1