Dragging files from Nautilus to Location field in FT chooser doesn't work
@wjt
Submitted by Will Thompson Link to original bug (#663544)
Description
Created attachment 200870 “Select a file” dialog
I tried to send Jonny a file today.
I first tried dragging it from Nautilus into the conversation window. The window got the black drag-target frame and the mouse pointer grew a + symbol, but dropping it didn't work.
So then I right-clicked him on my roster, picked Send File, and dragged the file from Nautilus into the Location field. It accepted the drag, and the Location was set to a file:/// URL.
But when I hit Send, the file transfer dialog immediately showed an error:
Error sending a file Error stating file '/home/wjt/....': No such file or directory
Screenshots attached.
I think it's related to un-URL-encoding the path. The spaces in directory names are converted from %20 to ' ', but not those in the filename.
Also, "stating" means "making a statement". Assuming this is meant to be a conjugation of "stat", I would use "statting". But actually I would not use the word "stat" in a user-visible message. :) Also, the first line of the message is completely redundant with the second, and neither line says Jonny's name.
Dropping the file into the file area of the file chooser behaves completely differently: it navigates to that directory and selects that file, which works perfectly. So arguably there's a GtkFileChooser bug in here somewhere. But Empathy could stand to present the error more clearly in any case.
Attachment 200870, "“Select a file” dialog":
Version: 3.2.x