(I put this in general since cannot be sure where else to put it.) Issue is that when you have a luks partition with a drive label Dolphin will create two entries in Devices for the same drive when mounted. Dolphin will first show the drive in Devices with generic name "X Encrypted Drive" clicking on that entry will ask for password and if correct will mount it. However it will also create another entry in Devices that's the label of that encrypted partition giving two entries for the same drive. (For me it creates) 1: 2.7 TiB Encrypted Drive 2: <Drive Label> Clicking on any of them shows the same root folder of the encrypted drive. Clicking on <Drive Label> will highlight it and then clicking on a folder on that drive will then automatically highlight 2.7 TiB Encrypted Drive entry instead. Reproducible: Always Steps to Reproduce: 1. Have a luks partition with a label ready. 2. Mount it using dolphin Actual Results: Two entries pointing to the same drive, one generic "X Encrypted Drive" and one with the label of the drive. Expected Results: If label available show label else show the generic name.
Dolphin Version 15.04.0 Using KDE Development Platform 4.14.10
That's been an issue for years since udisks usage. Gvfs had it too but I forgot how they fixed or worked around it.
Do you see the same issue in, e.g., the "File Open" dialog of KWrite or other KDE applications? What is your KWrite version?
(In reply to Frank Reininghaus from comment #3) > Do you see the same issue in, e.g., the "File Open" dialog of KWrite or > other KDE applications? What is your KWrite version? It does not show the red error when trying to mount with "File Open" dialog in KWrite however I still got a notification that it failed to mount while both entrys shows up in the dialog window. From the help window, KWrite Version 5.0.0 Using KDE Frameworks 5.12.0
(In reply to Artur O. from comment #4) > It does not show the red error when trying to mount with "File Open" dialog > in KWrite however I still got a notification that it failed to mount while > both entrys shows up in the dialog window. In my case, I see the original partition /dev/sda3 and the unlocked mounted partition /dev/mapper/root. /dev/sda3 cannot be mounted since it is luks partition. You can try hiding the parition you don't want (i haven't tried this). https://wiki.archlinux.org/index.php/Udisks#Hide_selected_partitions This is something that slipped through years ago with the move from Hal to udev.
Possible duplicate https://bugs.kde.org/show_bug.cgi?id=265251
(In reply to Hussam Al-Tayeb from comment #6) > Possible duplicate https://bugs.kde.org/show_bug.cgi?id=265251 Don't think so. this creates two devices. Not duplicate entry between Devices & Places or am I missing something?
(In reply to Artur O. from comment #4) > It does not show the red error when trying to mount with "File Open" dialog > in KWrite however I still got a notification that it failed to mount while > both entrys shows up in the dialog window. Thanks. It's not a Dolphin issue then. The file dialog uses a different error handling mechanism though, which is why you do not see the red box.
*** This bug has been marked as a duplicate of bug 327068 ***