Bug 377379 - konsole stops responding to keyboard on Linux
Summary: konsole stops responding to keyboard on Linux
Status: RESOLVED UPSTREAM
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR critical
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-08 13:48 UTC by RJVB
Modified: 2018-10-20 12:23 UTC (History)
1 user (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 RJVB 2017-03-08 13:48:28 UTC
Ever since I moved my install from an old netbook to a new Braswell notebook I have been seeing occasions where Konsole stops responding to the keyboard.

This happens with Konsole4 but more often with Konsole5 (possibly because I use that version predominantly). I have not been able to determine what triggers the issue but it appears to have something to do with either rapid terminal output or else rapid keyboard input. The latest episode occurred when I was holding a cursor key down to scroll through the command history.

When the issue triggers, it affects either a single tab or else all tabs belonging to a given Konsole session. In the former case I can usually clone the affected tab and only use its shell history, in the latter case I have to restart Konsole entirely.

This is with Ubuntu 14.04.5 LTS with the "Xenial" enablement stack (= same Xorg as 16.04) and kernel 4.9.7 so all related drivers should be up-to-date.

I see I'm not the only one suffering from this (esp. #160329). Next time I'll try changing or restarting the window manager but I already have some more observations that may help pinpointing the cause:

- if the entire Konsole session is affected keyboard input is dysfunctional in dialogs too
- changing the keyboard layout doesn't help (neither in Konsole nor for the entire desktop)
- copy/paste continue to work (which has sometimes allowed me to exit vi gracefully)

The latter observation suggests an issue with state management in the keyboard event handling where Konsole inappropriately gets stuck in a mode where it discards all keystrokes (yes, that includes Ctrl-C, Ctrl-S Ctrl-Q etc.)
Comment 1 Omar 2018-10-20 11:48:43 UTC
I do think this issue has been fixed as everything works fine for me, and the issue you linked have been closed as RESOLVED
Comment 2 Omar 2018-10-20 11:50:04 UTC
*forgot to change status*
Comment 3 RJVB 2018-10-20 12:16:34 UTC
And I completely forgot about this issue, which I haven't seen in a long time. If memory serves me well it was either due to something in Qt, or I found a workaround after posting about the issue on a Qt mailing list.
Comment 4 Omar 2018-10-20 12:23:39 UTC
Great