https://bugs.kde.org/show_bug.cgi?id=486329
Bug ID: 486329 Summary: kdialog --slider exit code when pressing OK is 1 (error) Classification: Applications Product: kdialog Version: 24.02.2 Platform: Neon OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: br...@frogmouth.net Reporter: o...@geek.co.il Target Milestone: --- SUMMARY When using the KDialog slider function, if the user clicks "OK", the exit code from the process is 1 (which indicates an error) but when clicking "Cancel" the exit code is 0 (which normally indicates successful completion in UNIX). Other functions I've tested - such as the input box function - behave as expected with "OK" producing a 0 exit code, and "Cancel" producing an exit code of 1. STEPS TO REPRODUCE 1. In your terminal run `kdialog --slider "Test" "1" "10" "1" && echo OK || echo Cancel` 2. In the dialog box that pops up, press "OK" OBSERVED RESULT The terminal output says "Cancel" EXPECTED RESULT The terminal output should say "OK" SOFTWARE/OS VERSIONS Operating System: KDE neon Testing Edition KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0 Kernel Version: 6.5.0-27-generic (64-bit) Graphics Platform: Wayland Processors: 20 × 12th Gen Intel® Core™ i7-12700H Memory: 31.0 GiB of RAM Graphics Processor: Mesa Intel® Graphics -- You are receiving this mail because: You are watching all bug changes.