Bug 451680 - Pressing enter to confirm entry into a spinbox closes the app
Summary: Pressing enter to confirm entry into a spinbox closes the app
Status: CONFIRMED
Alias: None
Product: kcolorchooser
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-03-19 09:51 UTC by squidinkrf
Modified: 2025-09-10 06:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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