Bug 442623

Summary: Can't submit confirmation dialog options by pressing <enter>
Product: [Frameworks and Libraries] libplasma Reporter: João Figueiredo <jf.mundox>
Component: componentsAssignee: Marco Martin <notmart>
Status: RESOLVED WORKSFORME    
Severity: normal CC: me, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.86.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description João Figueiredo 2021-09-17 23:01:04 UTC
SUMMARY
For example, when I attempt to close an unsaved document on kate, or if I try to permanently delete something with dolphin, I can select the respective dialog options with <tab> or the arrow keys, but I can't actually "submit" my choice by pressing <enter> (though <space> still works).

STEPS TO REPRODUCE
1. Create a new document on kate;
2. Type something;
3. Attempt to close the window;
4. Press <enter> (in this case, it would be expected for it to submit the first option, "Save");
5. Select another option with the arrow keys;
6. Press <enter> again;

OBSERVED RESULT
The selected options can't be submitted by pressing <enter>.

EXPECTED RESULT
Like before, <enter> should submit dialog options, so we can navigate them easily with our keyboards.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.14.5
(available in About System)
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Comment 1 ratijas 2023-12-08 17:09:37 UTC
There is no default Enter key handling for buttons, unless it is a "default" button in Qt Widgets.

By the way, plasma-frameworks (recently renamed to libplasma) mostly deals with QML components. A better place would be kwidgetaddons or Kate/Dolphin projects individually.

Speaking of the bug itself, I can not reproduce it neither in Dolphin or Kate. Enter key activates the default action in both dialogs. Does the bug still occurs to you?
Comment 2 Bug Janitor Service 2023-12-23 03:46:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-01-07 03:46:18 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!