Bug 451680

Summary: Pressing enter to confirm entry into a spinbox closes the app
Product: [Applications] kcolorchooser Reporter: squidinkrf
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: nate
Priority: NOR Keywords: usability
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description squidinkrf 2022-03-19 09:51:23 UTC
SUMMARY
Seeing as kcolorchooser is essentially a QColorDialog, it's designed for passing input to larger applications and therefore will close either with pressing the close button in the titlebar, the cancel button in the corner, the ok button in the corner, or pressing enter on the keyboard. When using the app this can become an issue as I've found myself frequently pressing enter to confirm my input into the various input widgets, and have the app close on me without saving my chosen colour.

STEPS TO REPRODUCE
1. Open kcolorchooser
2. enter a color into any of the text/number boxes
3. press enter

OBSERVED RESULT
The application closes

EXPECTED RESULT
The color input would be shown in the display (or in the case the color is already shown then nothing)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3