GNOME Bugzilla – Bug 574638
[Save dialog] Expand bar "Select File Type" won't reduce back its window
Last modified: 2011-03-20 19:37:25 UTC
Description of problem: Expand bar "Select File Type" in Save dialog from GIMP won't reduce back its window and left it expanded, while the "Browse for other folders" Expand bar is OK in this way. Version-Release number of selected component (if applicable): gtk2-2.15.5-1.fc11.x86_64 How reproducible: always Steps to Reproduce: 1. Click on "Select File Type" -- window is now expanded 2. Click on "Select File Type" -- window is kept expanded Actual results: window is kept expanded Expected results: window is reduced back Other information:
Created attachment 130332 [details] gtk-select-file-type
Looks like the gimp is doing something bad to its save dialog. I can shrink it all the way down to zero, with the expected ui breakage. Other save dialogs don't behave this way.
2.6.5 on Windows (using GTK+ 2.14.6) does behave as expected. Could this be a new GTK+ bug?
I can't thrink the save dialog to zero on X with gtk trunk.
I can see the behaviour described with gimp-2.6 after I removed the ~/.gimp-2.6 directory: [nils@rawhide ~]$ rpm -q gimp gtk2 gimp-2.6.5-4.fc11.x86_64 gtk2-2.15.5-1.fc11.x86_64 As soon as I resize the dialog to a size that holds all the widgets, I can't shrink it back to the same small size (and as gimp remembers position and size of windows, I need to remove .gimp-2.6 to see it again). Strangely, current-SVN gimp(+gegl+babl) makes the dialog big enough right from the start (with .gimp-2.7 removed), even though the app/dialogs/file.-*.[ch] and app/widgets/gimpfiledialog.[ch] files only differ in license comments and the inclusion of gegl headers.
Setting on the 2.6 milestone as we should fix this in the gimp-2-6 branch if we can.
I can not reproduce the problems described in comment #2 and #5. Not with gimp-2.6 and not with trunk. I can reproduce the minor issue though that was reported by Michal.
Created attachment 130735 [details] video showing the behavior first with GIMP 2.6.5, then current (before the weekend) SVN trunk
Packages used in the above video: [nils@rawhide ~]$ rpm -q gimp gtk2 glib2 gimp-2.6.5-4.fc11.x86_64 gtk2-2.15.5-1.fc11.x86_64 glib2-2.19.10-1.fc11.x86_64
*** Bug 576775 has been marked as a duplicate of this bug. ***
We are dealing with two different things in this bug. The original report (dialog won't reduce back) needs special code to be fixed because GTK+ itself can't possibly know to which size to reduce the dialog. The other isse mentioned is about cut-off widgets at the bottom of the dialog and is a duplicate of bug #555025. That's also the reason for being able to shrink the dialog to zero in a fresh GIMP installation. Please let's restrict the discussion in this bug to the original issue.
Fixing the originally reported issue here needs support from GTK+, and there is a bug about this support. Resolving as duplicate. *** This bug has been marked as a duplicate of bug 643805 ***