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 574638 - [Save dialog] Expand bar "Select File Type" won't reduce back its window
[Save dialog] Expand bar "Select File Type" won't reduce back its window
Status: RESOLVED DUPLICATE of bug 643805
Product: GIMP
Classification: Other
Component: User Interface
2.6.5
Other All
: Normal minor
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-03-09 14:37 UTC by Michal Nowak
Modified: 2011-03-20 19:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
gtk-select-file-type (20.07 KB, image/png)
2009-03-09 15:07 UTC, Michal Nowak
Details
video showing the behavior first with GIMP 2.6.5, then current (before the weekend) SVN trunk (583.36 KB, video/ogg)
2009-03-16 11:22 UTC, Nils Philippsen
Details

Description Michal Nowak 2009-03-09 14:37:46 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:
Comment 1 Michal Nowak 2009-03-09 15:07:40 UTC
Created attachment 130332 [details]
gtk-select-file-type
Comment 2 Matthias Clasen 2009-03-11 02:09:57 UTC
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.
Comment 3 Michael Schumacher 2009-03-12 10:01:14 UTC
2.6.5 on Windows (using GTK+ 2.14.6) does behave as expected. Could this be a new GTK+ bug?
Comment 4 Michael Natterer 2009-03-12 10:19:22 UTC
I can't thrink the save dialog to zero on X with gtk trunk.
Comment 5 Nils Philippsen 2009-03-12 11:43:06 UTC
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.
Comment 6 Sven Neumann 2009-03-12 12:05:12 UTC
Setting on the 2.6 milestone as we should fix this in the gimp-2-6 branch if we can.
Comment 7 Sven Neumann 2009-03-13 11:00:02 UTC
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.
Comment 8 Nils Philippsen 2009-03-16 11:22:55 UTC
Created attachment 130735 [details]
video showing the behavior first with GIMP 2.6.5, then current (before the weekend) SVN trunk
Comment 9 Nils Philippsen 2009-03-16 11:24:13 UTC
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
Comment 10 Sven Neumann 2009-03-27 19:23:22 UTC
*** Bug 576775 has been marked as a duplicate of this bug. ***
Comment 11 Michael Natterer 2009-03-28 12:31:58 UTC
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.
Comment 12 Michael Natterer 2011-03-20 19:37:25 UTC
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 ***