Opened 13 years ago

Closed 12 years ago

#1918 closed bug (Fixed)

[Win32] Drag'n'Drop not working

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

Description (last modified by Cas)

"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 Changed 13 years ago by Cas

  • Description modified (diff)

comment:2 Changed 13 years ago by Cas

  • Status changed from new to accepted

comment:3 Changed 12 years ago by Cas

  • Resolution set to fixed
  • Status changed from accepted to closed

Fix committed to 1.3-stable:9c9064b2

Note: See TracTickets for help on using tickets.