Bug 473950

Summary: Loopback device isn't detached when you unmount
Product: [Applications] dolphin Reporter: gudvinr+kde
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 23.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description gudvinr+kde 2023-08-30 15:28:43 UTC
SUMMARY

When loopback device is unmounted, it is still listed in device list.
This is caused by it not being detached.
If you run "losetup --detach-all", it gets removed as expected

It could be KIO issue but I am facing it only using dolphin, so there's that.

STEPS TO REPRODUCE
1. Mount loopback device (e.g. by using Mount option on ISO image file)
2. Unmount device

OBSERVED RESULT
Device still in device list

EXPECTED RESULT
Device removed after unmounting

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.1.49-1-lts (64-bit)
Graphics Platform: X11