Bug 502044

Summary: File extraction/loading progress dialog takes focus from the password dialog for protected archives
Product: [Applications] ark Reporter: Rob <robuhde>
Component: pluginsAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: REPORTED ---    
Severity: normal CC: rthomsen6
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rob 2025-03-26 20:28:20 UTC
SUMMARY
When extracting files from a password protected .zip or when opening a password protected .7z, the password input dialog popups with focus on the text input field. Very closely after follows the "Loading archive" or "Extracting # file(s)" progress dialog. The progress dialog cannot be interacted with, the password dialog either needs to be entered or closed/canceled. However, progress dialog takes focus from the password input, requiring the password dialog to be re-selected manually by the user in order to enter the password.

STEPS TO REPRODUCE
1. Open a password protected .7z archive
OR
1. Open a password protected .zip archive
2. Attempt to extract a file from the archive.

OBSERVED RESULT
The password dialog pops up focused on the text input field then immediately following is the progress dialog, taking focus and covering the password input dialog.

EXPECTED RESULT
Either:
Do not display the progress dialog until after the password is (correctly) entered.
Or:
Make the password input have higher stacking order or different parent/child relationship with progress dialog so that the password can be input without interruption.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9700X 8-Core Processor
Memory: 30.9 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: ASRock
Product Name: X670E Steel Legend