Bug 446930 - Several external (LUKS) devices issues with "Removable Devices" system settings on login
Summary: Several external (LUKS) devices issues with "Removable Devices" system settin...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.12.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-13 13:19 UTC by t-ask
Modified: 2021-12-13 13:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description t-ask 2021-12-13 13:19:14 UTC
SUMMARY
I have more than 10 external USB 3.0 LUKS encrypted devices connected to 

1. After using the system for months, I have a ton (> 600) of empty devices listed in the "Disconnected Devices"  list. I had to remove them one by one, which took 10 minutes. The "Forget Device" button alone is not practicable in this case. Adding a "Remove Old Devcies" button might help, e.g.

2. On every login, I had to type the authentication password (sudo) for not all but several devices which Plasma tried to reconnect on login. Strangely, I had to type the authentication password only 4 times while there were more LUKS encrypted devices were reconnected. It seems like `sddm` password is not recognized for all LUKS devices. Additionally, still then, I had to remount manually other external USB devices via Dolphin "Devices" panel each time. Really tiresome task on every login to retype sudo passwords, remount manually removable LUKS devices each time.

3. Encrypted and their unencrypted labels are both listed in "Attached/Disconnected Devices". It's not clear which ones to click for `On login` and `on attach` settings.

4. Dolphin does not list UUIDs or labels of devices, which makes it difficult to distinguish between not already unencrypted LUKS devices before mounting them

5. Now, after manually removing each disconnected device from the list, rebooting the system, Dolphin things half of the devices are "Disconnected Devices" even if all devices are listed in `lsblk` list as expected.

It feels like the provided "global options" in "Removable Devices" system settings on the top are confusing and maybe technically don't work as expected. One thing I wonder, why are is the devices list greyed out instead of emptying the list completely if e.g. "Automatically mount all ..." options are selected?

EXPECTED RESULT

I expect that I don't have to retype the sudo password on each login for some or all removable devices after having confirmed to store their passwords once (authenticated via sddm e.g.).

Also all devices in `lsblk` should be listed in Dolphin's "Devices" list in the left panel. 

Additionally, I only need the LUKS device labels in those lists not two entries for each device like "ExternalHD1" + "1.4 TiB Encrypted Device" in "Removable Devices" lists, too.

I expect, that connected devices (lsblk) don't split up in different "Removable Devices" lists like "Attached Devices" and "Disconnected Devices" even if they are all connected to the system.

PS: I wonder, why are devices greyed out instead of emptying the list completely if e.g. "Automatically mount all ..." option is selected?

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.14.16-212-tkg-pds (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3800X 8-Core Processor
Memory: 47.0 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2

ADDITIONAL INFORMATION