Qt ignores input devices created after qmlscene has been launched
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Fix Released
|
Critical
|
Christopher Lee | ||
autopilot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
qtbase-opensource-src (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
(text extract from an email)
We're having an interesting issue with the pinch touch gesture in autopilot that seems to be related to the recent upgrade of Qt.
I've found that if I create a UInput device before launching qmlscene the pinch gesture works as expected, but if we create the UInput devices after it is launched no input is received in the sample qml app.
So it appears that qmlscene is ignoring touch inputs from a device created after it is launched.
This code was working with the previous version of Qt as well as works on Saucy.
I have put together an example script[1] that has a pass and a fail test. The only difference in the passing test is that it creates a UInput device before launching qmlscene (commented in the code).
To reproduce using this script (assuming autopilot is installed):
- bzr branch lp:~veebers/+junk/pinch-gesture-failures && cd pinch-gesture-
- autopilot run test_pinch_
or
- autopilot run test_pinch_
Changed in autopilot: | |
status: | New → In Progress |
assignee: | nobody → Christopher Lee (veebers) |
importance: | Undecided → Critical |
Changed in autopilot (Ubuntu): | |
status: | New → In Progress |
Changed in autopilot: | |
status: | In Progress → Fix Released |
This bug was fixed in the package autopilot - 1.4+14. 04.20140401- 0ubuntu1
--------------- 04.20140401- 0ubuntu1) trusty; urgency=low
autopilot (1.4+14.
[ Thomi Richards ]
* Make the --enable-profile option for all autopilot commands.
* Refactor introspection code to make the vis tool call only
asynchronous dbus calls.
* Optimisations for print_tree method.
[ Leo Arias ]
* Added a window resize for the BAMF process helper.
[ Christopher Lee ] stCase setUp. (LP: #1297592)
* Move functionality out of __init__.py
* Add workaround for bug lp:1297592 by creating Touch device in
AutopilotTe
* Fixes some functional tests that were failing on the devices. (skip
Gtk, use desktop file hint for the qt one).
[ Max Brustkern ]
* Move functionality out of __init__.py
* Additional pep257 changes.
-- Ubuntu daily release <email address hidden> Tue, 01 Apr 2014 01:30:45 +0000