← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1297592] Re: Qt ignores input devices created after qmlscene has been launched

 

** Changed in: autopilot
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1297592

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

Status in Autopilot:
  Fix Released
Status in “autopilot” package in Ubuntu:
  Fix Released
Status in “qtbase-opensource-src” package in Ubuntu:
  New

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-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

To manage notifications about this bug go to:
https://bugs.launchpad.net/autopilot/+bug/1297592/+subscriptions


References