Bug 452921

Summary: Entering wrong password for LUKS encrypted drive n times opens n+1 Dolphin windows once you finally provide the correct password
Product: [Plasma] plasmashell Reporter: phd <phd>
Component: Disks & Devices widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: leonard.menzel, nate
Priority: NOR    
Version First Reported In: 5.24.4   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description phd 2022-04-23 18:45:31 UTC
SUMMARY
Providing a password more than once (N bad passwords, then a valid one) for LUKS encrypted devices opens multiple Dolphin windows (N+1).

STEPS TO REPRODUCE
1. Attach LUKS encrypted device
2. "Mount and Open" it
3. provide a *bad* password
4. "Mount and Open" it again
5. provide a valid password

OBSERVED RESULT
Two Dolphin windows will open once a valid password is provided.
The amount of Dolphin windows opened will be equal to number of times a bad password was provided (N), plus 1 for a valid password.

EXPECTED RESULT
Only one Dolphin windows should be opened once a valid password is provided.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 21.10
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2022-04-25 18:27:58 UTC
Hah, can reproduce!
Comment 2 Leonard Menzel 2024-03-18 21:18:20 UTC
Can reproduce it on the Latest Version:
Operating System: NixOS 24.05
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1 (64-bit)
Graphics Platform: Wayland