! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
drag and drop generates newlines
Status:
RESOLVED: INVALID

Comments

Description Brendan Miller 2007-08-29 04:57:45 CEST
When I drag a file to an application, the path given to it ends in a newline.

For example, drag a file to a terminal screen, and it immediately tries to execute the file path as if I'd hit return.

Worse, if I drag it to a dialog box that accepts paths, the text field will have an unprintable newline at the end. In meld (a merge program I use) this causes errors because it tries to open the path
"/my/path/file\n"
Comment 1 Benedikt Meurer editbugs 2007-11-28 20:01:50 CET
This is the correct behavior. Passing URIs via DnD, they must be formatted in a special way (and terminated with newlines). Smart applications will remove the trailing newlines prior to inserting the path.

Bug #3510

Reported by:
Brendan Miller
Reported on: 2007-08-29
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
0.3.1svn

Attachments

Additional information