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 559276 - file-chooser unsets file filter
file-chooser unsets file filter
Status: RESOLVED DUPLICATE of bug 553211
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.14.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2008-11-04 14:22 UTC by Damien Carbery
Modified: 2008-11-06 02:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Damien Carbery 2008-11-04 14:22:56 UTC
Happens in 2.6.1 and 2.6.2 Windows on XP.

- Launch GIMP
- File/Open, browse to dir with .AI file - file not listed
- Choose another file
- Close this file
- File/Open again - .AI file listed.
Comment 1 Michael Schumacher 2008-11-04 14:53:39 UTC
The default filter for the Open dialog is "All images", and .AI isn't an image file for GIMP.

If you opened an image before and then do a File->Open from this image, then the filter is not set. This might be the actual bug here.
Comment 2 Michael Schumacher 2008-11-04 15:01:16 UTC
Yes, the bug is that you do see the .ai file on the second try. This should not happen unless you do select "All files".
Comment 3 Michael Schumacher 2008-11-04 15:03:10 UTC
Please note that I can only reproduce this if I do not close the first file.
Comment 4 Damien Carbery 2008-11-04 16:24:34 UTC
The AI import dialog has the title 'Import from PDF'
I don't change my file listing feature.
I checked again - I see the .AI listed when I close the first file.

It's not a big deal for me so feel free to leave it open or close it or drop the priority way down. Thanks for reviewing.
Comment 5 Sven Neumann 2008-11-04 21:25:33 UTC
I have been able to reproduce this with GTK+ 2.14 on Ubuntu, but not with GTK+ 2.12 on Debian Sid. So this looks like a regression in the GTK+ file-chooser widget. I have added debug code and GIMP is definitely selecting the "All Images" file filter (or whatever file filter was last selected) when it creates the dialog. But somehow GTK+ seems to unset it.
Comment 6 Matthias Clasen 2008-11-06 02:07:51 UTC

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