[Wishlist] Remember last used folder

Bug #799697 reported by sledgehammer999
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
Undecided
sledgehammer999

Bug Description

The "torrent add" dialog always defaults to the path specified in "Options->Downloads->Hard Disk->Save files to location:"
There should be an additional option that would behave with this logic: The path should default to the last used folder. If that folder doesn't exist anymore then the dialog should fallback to "Options->Downloads->Hard Disk->Save files to location:"

Reason for existance: Let's say you want to download 10 episodes from a series(eg anime). Obviously you will save them in the same folder. It is too cumbersome and repetetive to choose the right folder 10 times in a row.

Tags: wishlist
Revision history for this message
Kristiyan Kanchev (skrechy) wrote :

It would be great if this feature can be implemented. At least, all the people I know are used to that same method of adding new torrents.

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

I am currently looking at the qbt code to figure out what changes I should make for this feature. But don't hold your breath, this may take a while.

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

This is now implemented on my git repo->https://gitorious.org/~sledgehammer999/qbittorrent/sledgehammer999-qbittorrent

@Christophe I have made a merge request regarding this. Please review. (And there is another one pending. Not sure if you have seen it)

Changed in qbittorrent:
status: New → In Progress
assignee: nobody → Sledgehammer_999 (sledgehammer-999)
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

The thing is that it used to be supported and that I removed it on purpose. Most users found it confusing.
There is a default path defined in program preferences and remembering the last path in the torrent addition dialog will ignore the path predefined.

I think adding back this feature is a bad idea unless the user interaction is changed to make it less confusing. I haven't checked your implementation yet but I'm guessing you merely remember the last path without changing the user interaction?

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

This is the logic behind it.

I added another checkbox in Options->Downloads which is off by default. If the user enables it then:
When he adds a torrent the used folder is saved. When he is adding another torrent the code checks if the checkbox is enabled and if the path exists if it does it ignores the default path. If any of this conditions are false then it uses the default path instead.

Revision history for this message
sledgehammer999 (sledgehammer-999) wrote :

Updated the merge request.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Merged for v2.9.0

Changed in qbittorrent:
milestone: none → 2.9.0
status: In Progress → Fix Committed
Changed in qbittorrent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.