Bug 479373

Summary: Dolphin loses its location when disconnecting USB drive
Product: [Applications] dolphin Reporter: Gaëtan Gilbert <gaetan.gilbert>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: kfm-devel
Priority: NOR    
Version: 23.08.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gaëtan Gilbert 2024-01-03 21:30:03 UTC
SUMMARY
If dolphin is visiting a folder in a USB drive, it will lose its location when the drive is unmounted.
When it is remounted the user must then navigate again to get back where they want to be.

(this behaviour may make sense when the folder is deleted, but unmount is not the same as delete and if we have to have the same behavour for both I'd rather not lose the location)

STEPS TO REPRODUCE
1. mount usb drive as /a/b
2. navigate to /a/b/.../x/y in dolphin
3. unmount drive (optional: put something in /a/b/.../x/y using some other computer)
4. mount drive as /a/b again

OBSERVED RESULT

5. dolphin is visiting /a

EXPECTED RESULT

dolphin is visiting /a/b/.../x/y

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10