Can't increase volume lock after minimizing to tray then restoring
joanbm opened this issue · comments
Steps to trigger
- Open Quiet on the Set
- Set the volume scroller to a certain threshold, e.g. 50
- Click the lock button
- Close the window, sending it to the tray
- Double click the tray icon in order to restore the window
- Click the unlock button
- Set the volume scroller to a higher threshold, e.g. 70
- Click the lock button
Expected result
Max volume should be set to 70
Actual result
Max volume is actually set to 50
Details
Version: Installer or last commit at this time
OS: Windows 10
Example
This seems to be because the MouseDoubleClick method actually spawns a new form every time it's double clicked, and therefore the old form is still running and applying the old limit. I will test a fix and send a PR shortly.