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