REGRESSION: gtk_file_chooser_get_filename returns a basename instead of a path

Bug #242079 reported by Kjell Braden
2
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The gtk_file_chooser_get_filename function returned an absolute path in version 2.12.10-2ubuntu1 and before.

This changed with 2.13.3-0ubuntu1, it now returns the basename (see also revision 20342 [1]). This seems to have been unintentional, because it was changed back with revision 20393 [2].

As you probably can imagine, this breaks quite some applications (I noticed it with aptoncd, ccsm, gdecrypt, but I believe there are many more).

[1] http://svn.gnome.org/viewvc/gtk%2B/trunk/gtk/gtkfilechooser.c?r1=19508&r2=20342
[2] http://svn.gnome.org/viewvc/gtk%2B/trunk/gtk/gtkfilechooser.c?r1=20347&r2=20393

Tags: regression

Related branches

Revision history for this message
Kjell Braden (afflux) wrote :

Preparing a debdiff.

Changed in gtk+2.0:
assignee: nobody → afflux
importance: Undecided → High
status: New → In Progress
description: updated
Revision history for this message
Kjell Braden (afflux) wrote :
Changed in gtk+2.0:
assignee: afflux → nobody
status: In Progress → Triaged
Revision history for this message
Daniel Holbach (dholbach) wrote : Sponsor Request

Sebastien: can you please take a look at it?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the change seems to be correct

Changed in gtk+2.0:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+2.0 - 2.13.3-0ubuntu2

---------------
gtk+2.0 (2.13.3-0ubuntu2) intrepid; urgency=low

  * debian/patches/092_svn20393_fix_filechooser_get_filename.patch: fix
    behaviour of gtk_file_chooser_get_filename. It was unintentionally changed
    to return only the basename of the selected file. (LP: #242079)

 -- Kjell Braden <email address hidden> Sun, 22 Jun 2008 12:10:26 +0200

Changed in gtk+2.0:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.