Opened 13 years ago

Closed 13 years ago

#1918 closed bug (Fixed)

[Win32] Drag'n'Drop not working

Reported by: Calum Owned by: Calum
Priority: critical Milestone: 1.3.4
Component: GTK UI Version: 1.3.3
Keywords: Cc:

Description (last modified by Calum)

"file:///C:/The.torrent" becomes "C:\C:\The.torrent"

Problem was introduced with this commit: 00900fef

Solution will be something like the code below but will need better testing to ensure both Linux and Windows compatibility.

if urlparse(arg).scheme == "file":
    os.path.abspath(url2pathname(urlparse(arg).path))
else:
    path = os.path.abspath(arg)

http://en.wikipedia.org/wiki/File_URI_scheme

Change History (3)

comment:1 by Calum, 13 years ago

Description: modified (diff)

comment:2 by Calum, 13 years ago

Status: newaccepted

comment:3 by Calum, 13 years ago

Resolution: fixed
Status: acceptedclosed

Fix committed to 1.3-stable:9c9064b2

Note: See TracTickets for help on using tickets.