You have been subscribed to a public bug:

>From Ricmm

What I have been observing is that under load, the app's thread where
the input looper runs is running quite slow and its missing many of the
events, perhaps they are expiring in the queue before they actually make
it out of the pipe.

Processing time in the QPA's input thread context is also heavily hit,
and a simple non-blocking operation like posting the event to the main
loop is taking a while to return, thus blocking the next polling run as
the callback hasn't finished (also causing some sort of event expiry).

I think this is an issue with the QUbuntuTheme from the QPA. When a
letter comes down the pipe I see the theme being reinstanced like 30
times after the key event is sent down for handling. This might be
causing some weird slowness as it all runs in the same thread context.
Here's the example:

eventCallback (context=0x1e001e8, event=0x4d0d5908)
QUbuntuBaseInput::postEvent (this=0x1b3e678, window=0x1b72588,
event=0x4d0d5908)
QUbuntuBaseInput::customEvent (this=0x1b3e678, event=0x1e16100)
QUbuntuBaseInput::dispatchKeyEvent (this=0x1b3e678, window=0x1b72588,
event=0x1e16110)
KEY device_id:3 source_id:257 action:0 flags:8 meta_state:0 key_code:26
scan_code:116 repeat_count:0 down_time:1129093998000
event_time:1129093998000 is_system_key:1
QUbuntuBaseInput::handleKeyEvent (this=0x1b3e678 window=0x1b72588,
timestamp=1129093, type=6, key=16777399, modifiers=0, text='?')
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)
QUbuntuTheme::themehint (this=0x1b44de0, hint=22)

** Affects: ubuntu-keyboard (Ubuntu)
     Importance: Critical
     Assignee: Ricardo Mendoza (ricmm)
         Status: In Progress


** Tags: autopilot
-- 
keyboard input being lost during autopilot
https://bugs.launchpad.net/bugs/1204280
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to