transmission/transmission

transmission-qt: Remember the last used directory for "File > Open..."

Open

#7970 opened on Dec 20, 2025

View on GitHub
 (0 comments) (1 reaction) (0 assignees)C++ (10,996 stars) (1,154 forks)batch import
good first issuepr welcomescope:qttype:feattype:ui

Description

What is the issue?

I always pick up .torrent files from Downloads folder (where they are saved by the browser). But every time I launch File > Open... in Transmission is opens my home directory.

As far as I understand this could be solved by just keeping the 'InitialDirectory' property of the OpenFileDialog blank? https://forum.xojo.com/t/can-opendialog-remember-the-last-directory-used/80401

Here? https://github.com/transmission/transmission/blob/main/qt/MainWindow.cc#L1250

Which application of Transmission?

Qt app on Windows

Which version of Transmission?

4.0.6

Contributor guide