Opened 14 years ago

Closed 13 years ago

#1582 closed bug (Fixed)

Wrong path separator returned when moving storage in Windows

Reported by: WillyWolly Owned by: Calum
Priority: trivial Milestone: 1.3.3
Component: GTK UI Version: 1.3.1
Keywords: Cc:

Description

Using the file dialog screen, the save path for a torrent gets saved with backward slashes (as visible in the 'Save Path' column). But when the location is changed afterwards using the file dialog screen those back slashes become forward slashes.

Change History (5)

comment:1 by Calum, 14 years ago

Component: windowsgtkui
Milestone: 1.3.21.3.x
Summary: Windows - inconsistent use of slashesFiles Tab - Remove trailing slash from folders
Type: defectbug
Version: other (please specify)1.3.1

The solution is to remove the slash altogether rather than mess around with changing which slash is shown on windows/*nix.

This will need changing for 'Files Tab' in both 'Add Torrents' and StatusBar

comment:2 by WillyWolly, 14 years ago

Yes, it needs changing in the 'Save Path' column. If what you mean by StatusBar is the lower part of the screen with the tabs, then the File tab over there is OK (it uses a tree structure with appended forward slashes), but the Details tab also contains the wrong slashes in the 'path' entry.

comment:3 by Calum, 13 years ago

Milestone: 1.3.x1.3.3
Owner: set to Calum
Status: newaccepted

comment:4 by Calum, 13 years ago

Summary: Files Tab - Remove trailing slash from foldersWrong path separator returned when moving storage in Windows

I see what the problem is now and found libtorrent returns the wrong path separator in Windows but I can apply a workaround for the next release.

comment:5 by Calum, 13 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in 1.3-stable: 52f89270

Note: See TracTickets for help on using tickets.