SUMMARY Run from terminal: kcolorchooser --color '#111111' --print User can press OK, Cancel, Esc or X on titlebar to exit the app. Kcolorchooser will always return exit code zero. Now, if the user changes the color and press e.g. Cancel, changed color will still be printed to output, so there is no way to know for certain whether a user has aborted the app. OBSERVED RESULT No information is provided to know for certain whether a user has aborted the app. EXPECTED RESULT There should be the way to know for certain whether a user has aborted the app. SOFTWARE/OS VERSIONS Operating System: KDE neon Testing Edition, VM KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.3 Kernel Version: 5.13.0-40-generic (64-bit) Graphics Platform: X11
Can you describe why this would be important? What's the surrounding context that would make that information useful to have?
(In reply to Nate Graham from comment #1) Kcolorchooser is a native KDE app which can be used in BASH scripts to present nice GUI interface. Of course, there is also the matter of general consistency for user abort, and at the present state, user cannot get the proper response. But if kcolorchooser is stepping down for the sake of "Color Picker" plasma widget, as one might take from your action on bug https://bugs.kde.org/show_bug.cgi?id=442971, then this can closed as well, ofc.