Bug 453265

Summary: No way to acknowledge user abort
Product: [Applications] kcolorchooser Reporter: witchhunter <witchhunterpro>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: REPORTED ---    
Severity: normal CC: 4wy78uwh
Priority: NOR    
Version: 22.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description witchhunter 2022-05-01 16:28:31 UTC
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