Bug 451680 - 4 different ways to close the app, can be triggered accidentally
Summary: 4 different ways to close the app, can be triggered accidentally
Status: REPORTED
Alias: None
Product: kcolorchooser
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-19 09:51 UTC by squidinkrf
Modified: 2022-03-19 09:51 UTC (History)
0 users

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