Public bug reported:

(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-failures
 - autopilot run test_pinch_event.TestTouchEvent.test_will_fail
or
 - autopilot run test_pinch_event.TestTouchEvent.test_will_pass

[1] lp:~veebers/+junk/pinch-gesture-failures

** Affects: qtbase-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1297592

Title:
  Qt ignores input devices created after qmlscene has been launched

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1297592/+subscriptions

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

Reply via email to