"Set Location" option should remember the path from the prior "Set Location" operation #13628

Open
opened 2026-02-22 00:09:23 -05:00 by deekerman · 2 comments
Owner

Originally created by @iheartcsharp on GitHub (Jul 15, 2022).

Suggestion

When you right-click on a torrent and click "Set Location", it will open a folder selection dialog box with the current path of the torrent is selected. Instead it should default to the path you selected previously. If you haven't used Set Location in the current session it will default to the current path.

This path just need to be remembered per session. So when I open qBittorrent the variable prevSetLocation will be null. Once I click Set Location it will default the folder selection dialog box to the current location due to prevSetLocation being null. So I select a new path I want to save the torrent(s) to. The new path I select is "/nice". The prevSetLocation will be set to "/nice". The next time I click Set Location on another torrent the folder selection dialog box will be defaulted to "/nice". Once the application is closed the value of prevSetLocation can be discarded.

Use case

I am seeding 1,000+ torrents at any point. As some torrents are completed seeding I need to move them to another location. There is no easy way I can group all the torrents I want to move and select all of them at once. And I also don't want to Ctrl+Click (multi-select) through the whole 1,000+ torrent list to select them.

So what I do is I scroll through the list and select 5-10 torrents and right-click "Set Location". In the folder selection dialog it will default to the current location of the files. So I have to click through the different folders in the dialog box and select the path I want. This I have to do every time I click "Set Location". Instead it should remember the last location I selected and default it in the folder selection dialog.

This will save me a lot of time as I don't have to navigate to the same folder every time I do "Set Location" on a torrent.

Extra info/examples/attachments

This is the current process:

  1. Select the torrents I want to move using Ctrl+Click.
  2. Right-click on them and select Set Location.
  3. In the folder browser dialog I need to find the path I want to move it to.
  4. I click OK and it starts moving the files.
  5. I scroll the torrent list and repeat steps 1-4.

The new process would be:

  1. Select the torrents I want to move using Ctrl+Click.
  2. Right-click on them and select Set Location.
  3. In the folder browser dialog I need to find the path I want to move it to.
  4. I click OK and it starts moving the files.
  5. I scroll the torrent list and repeat steps 1,2, and 4.

In the new process I do NOT need to do step #3 unless I want to change the path. This would make my life easier.

  1. Select torrents 1-5, Set Location, select folder /xyz, click OK.
  2. Select torrents 12-25, Set Location, selected folder is already /xyz, just click OK.
  3. Select torrents 34-40, Set Location, selected folder is already /xyz, just click OK.
  4. Select torrents 41-47, Set Location, selected folder is /xyz, but I change it to /helloworld, click OK.
  5. Select torrents 60-80, Set Location, selected folder is already /helloworld, just click OK.
  6. Select torrents 101-114, Set Location, selected folder is already /helloworld, just click OK.
Originally created by @iheartcsharp on GitHub (Jul 15, 2022). ### Suggestion When you right-click on a torrent and click "Set Location", it will open a folder selection dialog box with the current path of the torrent is selected. Instead it should default to the path you selected previously. If you haven't used Set Location in the current session it will default to the current path. This path just need to be remembered per session. So when I open qBittorrent the variable prevSetLocation will be null. Once I click Set Location it will default the folder selection dialog box to the current location due to prevSetLocation being null. So I select a new path I want to save the torrent(s) to. The new path I select is "/nice". The prevSetLocation will be set to "/nice". The next time I click Set Location on another torrent the folder selection dialog box will be defaulted to "/nice". Once the application is closed the value of prevSetLocation can be discarded. ### Use case I am seeding 1,000+ torrents at any point. As some torrents are completed seeding I need to move them to another location. There is no easy way I can group all the torrents I want to move and select all of them at once. And I also don't want to Ctrl+Click (multi-select) through the whole 1,000+ torrent list to select them. So what I do is I scroll through the list and select 5-10 torrents and right-click "Set Location". In the folder selection dialog it will default to the current location of the files. So I have to click through the different folders in the dialog box and select the path I want. This I have to do every time I click "Set Location". Instead it should remember the last location I selected and default it in the folder selection dialog. This will save me a lot of time as I don't have to navigate to the same folder every time I do "Set Location" on a torrent. ### Extra info/examples/attachments This is the current process: 1. Select the torrents I want to move using Ctrl+Click. 2. Right-click on them and select Set Location. 3. In the folder browser dialog I need to find the path I want to move it to. 4. I click OK and it starts moving the files. 5. I scroll the torrent list and repeat steps 1-4. The new process would be: 1. Select the torrents I want to move using Ctrl+Click. 2. Right-click on them and select Set Location. 3. In the folder browser dialog I need to find the path I want to move it to. 4. I click OK and it starts moving the files. 5. I scroll the torrent list and repeat steps 1,2, and 4. In the new process I do NOT need to do step #3 unless I want to change the path. This would make my life easier. 1. Select torrents 1-5, Set Location, select folder /xyz, click OK. 2. Select torrents 12-25, Set Location, selected folder is already /xyz, just click OK. 3. Select torrents 34-40, Set Location, selected folder is already /xyz, just click OK. 4. Select torrents 41-47, Set Location, selected folder is /xyz, but I change it to /helloworld, click OK. 5. Select torrents 60-80, Set Location, selected folder is already /helloworld, just click OK. 6. Select torrents 101-114, Set Location, selected folder is already /helloworld, just click OK.
Author
Owner

@shooreek commented on GitHub (Mar 8, 2025):

I agree with this, it would be nice for folder selection dialog to open at last used location. And it was exactly like that in qB 4.0.3 (AFAIR) that was shipped with Kubuntu 22.04. Now I moved to Kubuntu 24.04 and AppImage and have to re-select needed folder from the root each time I use Set location feature.

@shooreek commented on GitHub (Mar 8, 2025): I agree with this, it would be nice for folder selection dialog to open at last used location. And it was exactly like that in qB 4.0.3 (AFAIR) that was shipped with Kubuntu 22.04. Now I moved to Kubuntu 24.04 and AppImage and have to re-select needed folder from the root each time I use Set location feature.
Author
Owner

@xavier2k6 commented on GitHub (May 24, 2025):

ANNOUNCEMENT!

For anybody coming across this "Feature Request" & would like/love to see a potential implementation in the future!
Here are some options available to you:

  1. Please select/click the 👍 &/orreactions in the original/opening post of this ticket.

  2. Please feel free (If you have the "skillset") to create a "Pull Request" implementing what's being requested in this ticket.
    (new/existing contributors/developers are always welcome)


DO:

  • Provide constructive feedback.
  • Display how other projects implemented same/similar etc.

DO NOT:

  • Add a "Bump", "me too", "2nd/3rd" etc. or "criticizing" comment(s).
    (These will be disregarded/hidden as "spam/abuse/off-topic" etc. as they don't provide anything constructive.)
@xavier2k6 commented on GitHub (May 24, 2025): ## ANNOUNCEMENT! For anybody coming across this **_"Feature Request"_** & would like/love to see a potential implementation in the future! **Here are some options available to you:** 1. Please select/click the 👍 **&/or** ❤ `reactions` in the original/opening post of this ticket. 2. Please feel free _(If you have the "skillset")_ to create a **_"Pull Request"_** implementing what's being requested in this ticket. **_(new/existing contributors/developers are always welcome)_** ____ **DO:** * Provide constructive feedback. * Display how other projects implemented same/similar etc. **DO NOT:** * Add a "Bump", "me too", "2nd/3rd" etc. or "criticizing" comment(s). **(These will be disregarded/hidden as "spam/abuse/off-topic" etc. as they don't provide anything constructive.)**
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#13628
No description provided.