Bug 497699

Summary: Dolphin display an eject icon alongside internal hard drive partitions which have been encrypted with veracrypt
Product: [Applications] dolphin Reporter: bahhz2lx
Component: view-engine: icons modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 24.12.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of the devices panel on the left hand side of dolphin

Description bahhz2lx 2024-12-19 23:50:45 UTC
SUMMARY
I'm assuming that this is not the expected behavior since my other hard drive partitions do not display a similar eject icon.

STEPS TO REPRODUCE
1.  encrypt a hard-drive partition using veracrypt
2.  add encrypted device entry to /etc/crypttab 
3.  add mapped device to /etc/fstab

OBSERVED RESULT

The partition is successfully mounted however dolphin will display an eject icon alongside it when listing available devices.

EXPECTED RESULT

An eject icon should not be displayed since this partition resides on an internal hard drive.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-200.fc41.x86_64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 31.0 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2


ADDITIONAL INFORMATION

* I have two devices which exhibit the same behavior.
* crypttab entries are using the "tcrypt-veracrypt,discard" and "tcrypt-veracrypt,tcrypt-system,discard" options.
* Both fstab entries are using the same lowntfs-3g driver and options when mounting the encrypted device:
lowntfs-3g uid=1000,gid=1000,rw,user,exec,umask=000,windows_names 0 0
Comment 1 bahhz2lx 2024-12-19 23:53:42 UTC
Created attachment 176777 [details]
Screenshot of the devices panel on the left hand side of dolphin
Comment 2 bahhz2lx 2024-12-20 00:02:13 UTC
Additional Details #2:
None of the other devices listed in screenshot are encrypted with the exception of "Fedora" which is the Linux system partition.
Comment 3 bahhz2lx 2024-12-20 00:02:41 UTC
The Fedora partition has been encrypted using LUKS
Comment 4 bahhz2lx 2024-12-30 16:47:44 UTC
I've just confirmed that this is also the case for non-system partitions that have been encrypted using LUKS