Bug 443325

Summary: JuK hangs if closed before it finishes loading media
Product: [Applications] juk Reporter: David <david.cortes.rivera>
Component: generalAssignee: Scott Wheeler <wheeler>
Status: RESOLVED FIXED    
Severity: normal CC: mpyne
Priority: NOR    
Version First Reported In: 20.12.3   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David 2021-10-05 00:37:51 UTC
SUMMARY
If I try to quit JuK before it has finished loading all the local media, it will take a very long time (minutes) to quit, meanwhile not allowing to do anything with it and blocking newer JuK instances from working correctly.

STEPS TO REPRODUCE
1. Have a lot of local media under ~/Music.
2. Launch JuK.
3. While the local media is grayed out and before if finishes whatever it does with it that grays them out, try to close it from the system tray icon (right click -> quit).

OBSERVED RESULT
Hangs for a long while.

EXPECTED RESULT
Should quit.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 David 2022-04-05 07:17:30 UTC
Latest version doesn't have a start up phase with greyed out items anymore, unless setting a non-default value for some locale in the settings.