Bug 659902 - gtk_file_chooser_set_filename selects wrong directory in mode GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER
Summary: gtk_file_chooser_set_filename selects wrong directory in mode GTK_FILE_CHOOS...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk2
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-04 02:07 UTC by Daniel
Modified: 2012-08-16 19:20 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-16 19:20:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
simple pygtk GUI and GTK Builder XML model to check behavior (1.00 KB, application/x-lzma)
2010-12-04 02:07 UTC, Daniel
no flags Details

Description Daniel 2010-12-04 02:07:49 UTC
Created attachment 464697 [details]
simple pygtk GUI and GTK Builder XML model to check behavior

Description of problem:
set_filename selects parent directory instead of given path.
this problem is specific to Fedora 13 (and later?), Fedora 12 (and older?) select the proper path.


Version-Release number of selected component (if applicable):
broken:
Name        : gtk2
Arch        : x86_64
Version     : 2.20.1
Release     : 1.fc13

working:
Name        : gtk2
Arch        : x86_64
Version     : 2.18.9
Release     : 3.fc12


How reproducible:
always


Steps to Reproduce:
1. use set_filename to select "/var/log"
2. check the result of the change; Fedora 12 file chooser will point to "/var/log", Fedora 13 file chooser will point to "/var"

works with any directory structure [as long as given directories exist]. Fedora 13 will always point to the parent directory instead of the given one.

Problem can be verified with attached test GUI. Just enter "/var/log" in the text box on the lower left and press the "set filename" button in different versions of Fedora and you will see the problem immediately.
[xml file has to be in the current working directory and GUI has to be started via "python filechooser_test.py" (no shebang/magic number in the script file, no path magic, just a simple test setup)]

Comment 1 Daniel 2011-01-04 16:21:54 UTC
I just verified the bug for Fedora 14.
broken package:
Name        : gtk2
Arch        : x86_64
Version     : 2.22.0
Release     : 1.fc14.1

Comment 2 Fedora End Of Life 2012-08-16 19:20:33 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.