Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Locking with no password: why? #11214
Please provide the following information
qBittorrent version and Operating System
4.1.7 on macOS 10.14.6
What is the problem
If the lock button on the top toolbar is pressed (with no password set) the UI will still "lock" - asking for a password when attempting to re-open the Qbittorrent window - then opening when [blank] is entered as the password. May be the cause of #5219 where user thought a password was in place that they had never set.
What is the expected behavior
By electing not to set a password a user is effectively opting out of the lock functionality. Perhaps the lock button should do nothing in this case (perhaps throwing up a "functionality disabled as no password is set" notification), rather than "lock" and then prompt for a password that doesn't exist.
Steps to reproduce
Open Qbittorrent (version 4.1.7 on macOS) and click the lock button.