Bug 360732 - OK / Cancel button actions when closing a tab are wrongly interchanged when clicked via keyboard
Summary: OK / Cancel button actions when closing a tab are wrongly interchanged when c...
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 15.12.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-19 11:16 UTC by Armin Jarmusch
Modified: 2019-02-14 17:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Jarmusch 2016-03-19 11:16:05 UTC
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.
Comment 1 Kurt Hindenburg 2016-05-21 17:26:44 UTC
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.
Comment 2 Aniketh 2017-01-27 16:00:09 UTC
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.
Comment 3 Julian Steinmann 2019-02-14 17:05:21 UTC
I cannot reproduce this behavior with Konsole 18.12.2. Please reopen this bug if you still experience this bug. Thanks!