Bug 472999

Summary: KTorrent softlocks when external drive cannot be mounted
Product: [Applications] ktorrent Reporter: 847240
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The warning-popup-window

Description 847240 2023-08-04 13:37:57 UTC
Created attachment 160737 [details]
The warning-popup-window

SUMMARY

On startup the application checks if the storage volumes containing the torrents or metadata are mounted. Should a volume be absent it triggers a warning (see attachment), blocking the whole application. In case that the volume cannot be mounted by the user there is no way to close the application. 



STEPS TO REPRODUCE
1. Set the save- and the metadata-folder-location to a mountable volume (that is currently mounted).
2. Quit the application
3. Dismount the volume
4. Open the application

OBSERVED RESULT
Dismissing the popup window of the warning (via "Cancel" and via "X") and trying to reach a closing button (right hand corner "X" or the "Quit" button in the "File" menu) is impossible, because the window immediately appears again, blocking all other interaction with the application. The user either has to mount the missing drive or kill the application.

EXPECTED RESULT
Some way to quit the application from this window, in case the missing volume cannot be provided by the user right now (like a "Quit"-button next to the "Retry" and "Cancel").

SOFTWARE/OS VERSIONS
OS: Kubuntu 23.04 x86_64
Kernel: 6.2.0-26-generic
DE: Plasma 5.27.4
KDE Plasma Version: 
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8