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 631914 - select_filename does not work if ShowHidden=true
select_filename does not work if ShowHidden=true
Status: RESOLVED DUPLICATE of bug 643170
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2010-10-11 20:13 UTC by Geoff Bache
Modified: 2011-02-24 20:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Minimal PyGTK test case (669 bytes, application/x-gzip)
2010-10-11 20:13 UTC, Geoff Bache
Details

Description Geoff Bache 2010-10-11 20:13:31 UTC
Created attachment 172128 [details]
Minimal PyGTK test case

Unpack the attached PyGTK program, change to the directory containing "select.py" and do

setenv XDG_CONFIG_HOME dotconfig
./select.py

You will see that the line 

dialog.select_filename(os.path.abspath("select.py"))

has no effect and the file is not selected.

If you edit the file dotconfig/gtk-2.0/gtkfilechooser.ini and set 

ShowHidden=false

then the file is selected as expected. As there are no hidden files present this seems somewhat strange.
Comment 1 Federico Mena Quintero 2011-02-24 20:49:37 UTC

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