Mir

Comment 3 for bug 1675357

Revision history for this message
Gerry Boland (gerboland) wrote : Re: Unity8 spins for a long time after being on an inactive vt

Turning on input event printing[1], when using Ctrl+Alt+F1 switching away from unity8, I see a continuous stream of input events being sent from Mir to Unity8, while on VT1:

[2017-03-23:12:36:53.419] qtmir.mir.input: Received MirKeyboardEvent(action=repeat,key_code=0x1008ff2b). Dispatching to ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.428] qtmir.mir.input: Received MirKeyboardEvent(action=repeat,key_code=0xffe9). Dispatching to ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.444] qtmir.mir.input: Received MirKeyboardEvent(action=repeat,key_code=0xffe3). Dispatching to ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.470] qtmir.mir.input: Received MirKeyboardEvent(action=repeat,key_code=0x1008ff2b). Dispatching to ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.480] qtmir.mir.input: Received MirKeyboardEvent(action=repeat,key_code=0xffe9). Dispatching to ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.495] qtmir.mir.input: Received MirKeyboardEvent(action=repeat,key_code=0xffe3). Dispatching to ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.521] qtmir.mir.input: Received MirKeyboardEvent(action=repeat,key_code=0x1008ff2b). Dispatching to ShellView(0x558b6b947ea0)
[2017-03-23:12:36:53.531] qtmir.mir.input: Received MirKeyboardEvent(action=repeat,key_code=0xffe9). Dispatching to ShellView(0x558b6b947ea0)

and actually, switching back to Unity8's VT, the key repeat events don't stop! Adding Mir to the bug

[1] qdbus com.canonical.Unity8 /com/canonical/Unity8/Debugging com.canonical.Unity8.Debugging.SetLoggingFilterRules "qtmir.mir.input=true"