Bug 496476 - Dolphin not mounting multi device BTRFS file systems correctly
Summary: Dolphin not mounting multi device BTRFS file systems correctly
Status: RESOLVED DUPLICATE of bug 427092
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-19 21:07 UTC by Stuart K. Smith
Modified: 2024-11-25 17:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart K. Smith 2024-11-19 21:07:58 UTC
SUMMARY
A multi device BTRFS file system appears multiple times under Devices - once per device/partition - displayed as either the device name or label if it exists.

If NOT defined in fstab: clicking on one of the devices in the file system will mount it under /media/user/ normally. Clicking on the second device, adds an additional mount under /media/devices and does not focus the active pane to the newly mounted file system nor does it change the Device icon and remove the "disconnected" icon overlay.

If defines in fstab: clicking on one of the devices will mount the file system per the /etc/fstab entry. However, subsequent clicks on the Devices entry results in multiple new mounts under /media/username/label that are simultaneously accessible as is the fstab mount location. 

STEPS TO REPRODUCE
1. Create multi device BTRFS file system
2. Edit /etc/fstab to define mount point (and execute "sudo systemctl daemon-reload")
3. Open Dolphin and click on either device.

OBSERVED RESULT
Either file system mounts via fstab appears in Dolphin active pane, or mounts under /media/user/ depending on which device is clicked on.

EXPECTED RESULT
Only one entry in Devices per multi device file system.
Mounted file system appears in active pane when selected.
Subsequent clicks set focus correctly and do not add additional mounts.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDEneon User Edition 24.04 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0 
Qt Version: 6.8.0

ADDITIONAL INFORMATION
I have observed somewhat different behavior in Dolphin with different file systems
Comment 1 John Kizer 2024-11-25 17:37:23 UTC
(In reply to Stuart K. Smith from comment #0)
> If NOT defined in fstab: clicking on one of the devices in the file system
> will mount it under /media/user/ normally. Clicking on the second device,
> adds an additional mount under /media/devices and does not focus the active
> pane to the newly mounted file system nor does it change the Device icon and
> remove the "disconnected" icon overlay.
> 
> If defines in fstab: clicking on one of the devices will mount the file
> system per the /etc/fstab entry. However, subsequent clicks on the Devices
> entry results in multiple new mounts under /media/username/label that are
> simultaneously accessible as is the fstab mount location. 

This is a really good description of how this issue manifests in each situation - thanks for providing! The core issue causing that has been reported and confirmed already, so I'm redirecting this one over to the existing issue ID, but if you could add that detail to that existing issue that would be awesome.

Thanks,

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