Bug 492250

Summary: Feature: allow double click (in --radiolist at least)
Product: [Applications] kdialog Reporter: LucMorizur <lucmorizur>
Component: generalAssignee: Brad Hards <bradh>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description LucMorizur 2024-08-27 07:42:41 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
The choices displayed in kdialog --radiolist can't be chosen with a double-click. You have to click once on the choice you make, and then click on button "OK" so to validate your choice. This makes two actions, when it would be possible to validate your choice with only one action — ie the double-click.

STEPS TO REPRODUCE
1. Display a dialog box for the choice of one single item in a list, ie kdialog --radiolist
2. Double-click on the choice you want to validate

OBSERVED RESULT
The line is selected, but not validated, you have to click on "OK" so to validate it.

EXPECTED RESULT
The choice is validated, just like if "OK" had been clicked.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 22.04.4 LTS jammy; Linux 6.8.0-40-lowlatency #40.1~22.04.1-Ubuntu
KDE Plasma Version: KDE 5.92.0; plasmashell 5.24.7; X Server 1.21.1.4
Qt Version: Qt 5.15.3