Ticket #1582 (closed bug: fixed)

Opened 2 years ago

Last modified 23 months ago

Wrong path separator returned when moving storage in Windows

Reported by: WillyWolly Owned by: Cas
Priority: trivial Milestone: 1.3.3
Component: gtkui 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

Changed 2 years ago by Cas

  • component changed from windows to gtkui
  • version changed from other (please specify) to 1.3.1
  • type changed from defect to bug
  • summary changed from Windows - inconsistent use of slashes to Files Tab - Remove trailing slash from folders
  • milestone changed from 1.3.2 to 1.3.x

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?

Changed 2 years ago by WillyWolly

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.

Changed 2 years ago by Cas

  • owner set to Cas
  • status changed from new to accepted
  • milestone changed from 1.3.x to 1.3.3

Changed 23 months ago by Cas

  • summary changed from Files Tab - Remove trailing slash from folders to Wrong 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.

Changed 23 months ago by Cas

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in 1.3-stable:  52f89270

Note: See TracTickets for help on using tickets.