Bug 457782

Summary: Music folder resets if not reachable
Product: [Applications] Elisa Reporter: Jacob Kauffmann <jacob>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: REPORTED ---    
Severity: minor CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jacob Kauffmann 2022-08-11 23:46:39 UTC
SUMMARY
I keep my music folder on a NAS that I mount manually when I boot my desktop computer. Sometimes, I forget to mount the NAS, and when I open Elisa, my music folder resets from the NAS mount directory to the default (~/Music). This indexes several thousand files that I don't want in my library, and causes me to have to re-configure my desired music folder after mounting the NAS.

While automatically mounting the NAS may be one obvious workaround to this, the issue would also affect the NAS or network connection going down temporarily; if I happen to launch Elisa during one of those events, I wouldn't want my music folder reset either.

STEPS TO REPRODUCE
1. Configure the music directory
2. Unmount or otherwise remove access to the music directory
3. Launch Elisa

OBSERVED RESULT
The music directory resets to ~/Music.

EXPECTED RESULT
The previously-configured music directory should remain configured. If it doesn't exist, I might expect the music collection to show up as empty, and/or an error message that one of the music folders can't be found could be displayed.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Comment 1 Nate Graham 2022-08-12 19:04:32 UTC

*** This bug has been marked as a duplicate of bug 418605 ***