Bug 429544 - Device notifier does not ignore bind mounts when opening folders
Summary: Device notifier does not ignore bind mounts when opening folders
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: DataEngines (other bugs)
Version First Reported In: 5.20.3
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-23 12:07 UTC by Riccardo Robecchi
Modified: 2022-02-12 15:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2020-11-23 12:07:14 UTC
SUMMARY
Device notifier opens the wrong directory if a bind mount is used. If I mount a partition (let's call it /dev/sda1, mounted on /mnt) and then bind mount a folder to another folder (e.g. /mnt/music to /home/user/music), clicking "open in file manager" in the device notifier opens the folder that's bind mounted and not the actual device. 

STEPS TO REPRODUCE
1. mount a device
2. bind mount a folder
3. open the device from the device notifier

OBSERVED RESULT
The bind mounted folder is opened.

EXPECTED RESULT
The main device folder is opened.

SOFTWARE/OS VERSIONS
Linux: KDE Neon Focal
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76
Qt Version: 5.15.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-11-25 01:03:33 UTC
Problem in the Solid DataEngine.
Comment 2 Riccardo Robecchi 2022-02-12 15:07:51 UTC
This is fixed as of Plasma 5.24.0 with Frameworks 5.90.