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 572324 - Create a New Image dialog does not resize during first use
Create a New Image dialog does not resize during first use
Status: RESOLVED DUPLICATE of bug 555025
Product: GIMP
Classification: Other
Component: User Interface
2.6.5
Other Linux
: Normal minor
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-02-18 21:31 UTC by CHAUVEAU Stephane
Modified: 2009-02-20 00:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot showing the advanced option fields drawn without resizing the dialog (20.60 KB, image/jpeg)
2009-02-18 21:33 UTC, CHAUVEAU Stephane
Details

Description CHAUVEAU Stephane 2009-02-18 21:31:07 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
Comment 1 CHAUVEAU Stephane 2009-02-18 21:33:04 UTC
Created attachment 129015 [details]
screenshot showing the advanced option fields drawn without resizing the dialog
Comment 2 Sven Neumann 2009-02-18 22:03:37 UTC
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?
Comment 3 Michael Natterer 2009-02-19 09:11:46 UTC
Same expander issue as this other bug. Also happens on first expanding
only.


*** This bug has been marked as a duplicate of 555025 ***
Comment 4 CHAUVEAU Stephane 2009-02-20 00:21:16 UTC
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. 


Comment 5 CHAUVEAU Stephane 2009-02-20 00:27:10 UTC
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