← Back to team overview

touch-packages team mailing list archive

[Bug 1204280] Re: keyboard input being lost during autopilot

 

** Changed in: ubuntu-keyboard (Ubuntu)
   Importance: Critical => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-keyboard in Ubuntu.
https://bugs.launchpad.net/bugs/1204280

Title:
  keyboard input being lost during autopilot

Status in “ubuntu-keyboard” package in Ubuntu:
  In Progress

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-keyboard/+bug/1204280/+subscriptions