keyboard input being lost during autopilot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-keyboard (Ubuntu) |
In Progress
|
High
|
Ricardo Mendoza |
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)
QUbuntuBaseInpu
event=0x4d0d5908)
QUbuntuBaseInpu
QUbuntuBaseInpu
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:
event_time:
QUbuntuBaseInpu
timestamp=1129093, type=6, key=16777399, modifiers=0, text='?')
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
QUbuntuTheme:
Changed in touch-preview-images: | |
importance: | Undecided → Critical |
assignee: | nobody → Ricardo Mendoza (ricmm) |
tags: | added: autopilot |
Changed in touch-preview-images: | |
status: | New → In Progress |
affects: | touch-preview-images → ubuntu-keyboard (Ubuntu) |
tags: | added: touch-preview-images |
Changed in ubuntu-keyboard (Ubuntu): | |
importance: | Critical → High |
happening in build saucy-54 on maguro app-autopilot webbrowser_app reports. qa.ubuntu. com/smokeng/ saucy/image/ 3139/webbrowser -app-autopilot/
Causing failure of the following autopilot tests when run like the following:
phablet-test-run -p webbrowser-
http://