OK / Cancel button actions when closing a tab are wrongly interchanged when clicked via keyboard. When I use the keyboard shortcut to close a tab in konsole (Ctrl-Shift-W by default if I remember correctly) and there is still a process running in the shell, Konsole will display a warning message dialog window with an OK and a Cancel button. If the user clicks those buttons via the mouse, everything is allright, no wrong behaviour. But if the user clicks those via keyboard (which konsole users should do quite often), the both actions are swapped/interchanged. That is, when I select the OK button (via hitting TAB) and then hit it (via either Space or Return), I get precisely the action I did not want. I reproduced this behaviour on several different distributions: openSUSE 42.1 Leap, Fedora 23, Kubuntu. Reproducible: Always Steps to Reproduce: 1. Open a Konsole window 2. Open a new tab 3. Start e.g. "mc" 4. Hit Ctrl-Shift-W 5. Select that you did not want to close the tab 6. See your tab is gone anyways. Actual Results: see above. Expected Results: see above.
This is strange, I notice on 2 of my systems the first time I do it. But as soon as I close that tab, I can't reproduce it.
I tried in my own enviornment. I didn't found this bug do exist.On Konsole Version 15.12.1. Like I opened firefox with it and when I did CTRL+SHIFT+W and a pop-up came with Yes/No. Moving with keyboard arrow key's itself gave me the expected result.
I cannot reproduce this behavior with Konsole 18.12.2. Please reopen this bug if you still experience this bug. Thanks!