DnD is broken with GtkFileChooserWidget when programatically setting current folder

Bug #184118 reported by Brad Taylor
2
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Drag and Drop sends the wrong file path after programattically setting current folder in GtkFileChooserWidget. If I manually select a different folder (e.g.: Home on the bookmarks bar) and select Desktop again, it works.

Steps to reproduce:
1. Compile/run attached testcase.
2. Drag a file from the right pane on to the desktop. This seems to work best with a file that isn't the first or last in your Desktop directory.

Notice that when the file is dropped, it's not the file you originally dragged. It seems to be the previous file or directory in the list.

if you click Home on the bookmarks bar, and then click Destop on the bookmarks bar, the bug goes away. This seems related to 004_gtk+-ximian-gtk2-filesel-navbutton-5.patch.

This seems Gutsy specific, as gtk+ 2.12.0 does not exhibit this problem.

Revision history for this message
Brad Taylor (brad) wrote :
Revision history for this message
Brad Taylor (brad) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report, Sebastien may you take a look to it? thanks you.

Changed in gtk+2.0:
assignee: nobody → seb128
importance: Undecided → Low
status: New → Confirmed
Changed in gtk+2.0:
assignee: seb128 → desktop-bugs
Revision history for this message
Sebastien Bacher (seb128) wrote :

closing if that works correctly in version newer than gutsy, works correct in jaunty for example

Changed in gtk+2.0 (Ubuntu):
status: Confirmed → 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.