Bug 430396

Summary: Runs many programs when executable confirmation settings are changed
Product: [Frameworks and Libraries] frameworks-kio Reporter: Alexander Kernozhitsky <sh200105>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs, nate
Priority: NOR    
Version: 5.75.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 5.82

Description Alexander Kernozhitsky 2020-12-14 21:31:57 UTC
STEPS TO REPRODUCE

Use Dolphin (version 20.12.0 or higher is required)

1. Go to "Configure Dolphin > General > Confirmations" and set "When opening executable file" to "Open in application".
2. Find any binary executable (for example, /usr/bin/kate) and click many times to open it 
3. Go to "Configure Dolphin > General > Confirmations" and set "When opening executable file" to "Always ask".
4. Click to /usr/bin/kate to open it again, choose "Execute" in the opened dialog

OBSERVED RESULT

Kate is opened many times.

EXPECTED RESULT

Kate is opened exactly once.
Comment 1 Bug Janitor Service 2021-04-21 12:13:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/421
Comment 2 Ahmad Samir 2021-04-21 17:43:55 UTC
Git commit 7f81b92a3577fd318eef19f564206b8b0cc1cd05 by Ahmad Samir.
Committed on 21/04/2021 at 17:43.
Pushed by ahmadsamir into branch 'master'.

Make the openOrExecute dialog modal

It makes sense to make modal, and it goes with the general behaviour of dialogs
spawned by KIO jobs, e.g. RenameDialog and SkipDialog.

M  +1    -0    src/widgets/widgetsopenorexecutefilehandler.cpp

https://invent.kde.org/frameworks/kio/commit/7f81b92a3577fd318eef19f564206b8b0cc1cd05