Bug 853399 - REGRESSION: FileDialog no longer returns the selected directory
Summary: REGRESSION: FileDialog no longer returns the selected directory
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk2
Version: 17
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-08-31 11:56 UTC by Johan Vromans
Modified: 2013-05-28 01:03 UTC (History)
5 users (show)

Fixed In Version: gtk2-2.24.18-1.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-05-28 01:03:15 UTC
Type: Bug

Attachments (Terms of Use)
Program demonstrating the bug (329 bytes, text/x-python)
2012-08-31 11:56 UTC, Johan Vromans
no flags Details

Description Johan Vromans 2012-08-31 11:56:38 UTC
Created attachment 608495 [details]
Program demonstrating the bug

Description of problem:

Several programs that use Gnome file and directory dialogs stopped working correctly. 

Version-Release number of selected component (if applicable):

Fedora 17 on x86_64 with all updates (the system is updated several times per week).

How reproducible:

Steps to Reproduce:
1. Run the attached python program.
2. Select a file somewhere.
3. Inspect the result dialog
Actual results:

For example, when HOME is /home/jv, and the file selected is /home/jv/foo/bar.txt, the results are:

path = /home/jv/foo/bar.txt
filename = bar.txt
directory = /homejv

Expected results:

path = /home/jv/foo/bar.txt
filename = bar.txt
directory = /homejv/foo

Additional info:

Since many programs seem to process the filename and directory, concatenating them if necessary, they end up with the wrong filename.
Programs that process the result of GetPath do not have problems.

The DirDialog has similar problems.

This change was introduced with an update somewhen in the first week(s) of august 2012. Before that time I never noticed anything problematic. After that time several programs started misbehaving to the point of being unusable.

Comment 1 Johan Vromans 2012-09-01 08:20:28 UTC
Changed component to gtk2. AFAIK, F17 wxWidgets is still gtk2 based.

Comment 2 Johan Vromans 2012-09-03 08:32:48 UTC
I've verified that by downgrading gtk2-2.24.11-1 to gtk2-2.24.10-2 the problems disappear.

Comment 3 Johan Vromans 2012-11-06 07:03:33 UTC
Is it considered normal practice to introduce a bug that renders several application programs inoperable and then fully ignore the bug reports?

Comment 4 Rex Dieter 2013-01-02 12:39:36 UTC
no it is not.

that said, you'll likely have more luck posting upstream, bugzilla.gnome.org

Comment 5 qxc 2013-01-02 13:07:22 UTC
It is confirmed this bug appears with Fedora only, other distributions are not affected/work well. So why should one ask for a fix somewhere else?

Comment 6 Rex Dieter 2013-01-02 13:20:28 UTC
If you want higher chances of getting some sort of response, I'd recommend you consider my advice.  it's ultimately up to you, of course.

Comment 7 Johan Vromans 2013-01-02 21:47:19 UTC
I've always assumed that comments from an organisation like Red Hat / Fedora were more likely to be taken seriously than comments from individual (Gnome) users.

Comment 8 Kalev Lember 2013-05-25 23:51:32 UTC
There have been a lot of filechooser related fixes upstream. It would be great if you could check whether your issue is fixed. If not, please file a bug upstream at:

I am doing a gtk2 2.24.18 build for Fedora 18; can you give it a try?

Comment 9 Fedora Update System 2013-05-26 00:07:59 UTC
gtk2-2.24.18-1.fc18 has been submitted as an update for Fedora 18.

Comment 10 Fedora Update System 2013-05-27 00:32:39 UTC
Package gtk2-2.24.18-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gtk2-2.24.18-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 11 Johan Vromans 2013-05-27 09:38:55 UTC
Backported gtk2-2.24.18-1.fc18 to fc17 and verified that the problem is solved.

Comment 12 Fedora Update System 2013-05-28 01:03:15 UTC
gtk2-2.24.18-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

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