We were previously misusing mapToItem/mapFromItem by not passing x/y parameters
and relying on JS to initialize them to 0.

Qt5.6 fixes QTBUG-41686 and requires x/y to be explicitly passed.

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

Title:
  Scrollbar tests fail on Qt 5.6.

Status in ubuntu-ui-toolkit package in Ubuntu:
  In Progress

Bug description:
  FAIL!  : components::Scrollbar::test_defaultStylingValues(vertical scrollbar) 
Wrong styling property default value.
     Actual   (): #5d5d5d
     Expected (): #111111
     Loc: 
[/tmp/buildd/ubuntu-ui-toolkit-1.3.2085+16.10.20160831.4/tests/unit/visual/tst_scrollbar.13.qml(1205)]
  FAIL!  : components::Scrollbar::test_defaultStylingValues(horizontal 
scrollbar) Wrong styling property default value.
     Actual   (): #5d5d5d
     Expected (): #111111
     Loc: 
[/tmp/buildd/ubuntu-ui-toolkit-1.3.2085+16.10.20160831.4/tests/unit/visual/tst_scrollbar.13.qml(1205)]
  FAIL!  : components::Scrollbar::test_dragThumbAndCheckStyling(vertical 
scrollbar) Uncaught exception: Type error
     Loc: 
[/tmp/buildd/ubuntu-ui-toolkit-1.3.2085+16.10.20160831.4/tests/unit/visual/tst_scrollbar.13.qml(800)]
  FAIL!  : components::Scrollbar::test_dragThumbAndCheckStyling(horizontal 
scrollbar) Uncaught exception: Type error
     Loc: 
[/tmp/buildd/ubuntu-ui-toolkit-1.3.2085+16.10.20160831.4/tests/unit/visual/tst_scrollbar.13.qml(838)]

  and

  ********* Start testing of components *********
  Config: Using QtTest library 5.6.1, Qt 5.6.1 (x86_64-little_endian-lp64 
shared (dynamic) release build; by GCC 5.4.0 20160609)
  PASS   : components::Scrollbar::initTestCase()
  FAIL!  : components::Scrollbar::test_handlingOfMovingHeader(Standard header) 
Uncaught exception: Type error
     Loc: 
[/tmp/buildd/ubuntu-ui-toolkit-1.3.2085+16.10.20160831.4/tests/unit/visual/tst_scrollbar_header.13.qml(230)]
  FAIL!  : components::Scrollbar::test_handlingOfMovingHeader(Edit header (with 
extensions)) Uncaught exception: Type error
     Loc: 
[/tmp/buildd/ubuntu-ui-toolkit-1.3.2085+16.10.20160831.4/tests/unit/visual/tst_scrollbar_header.13.qml(230)]
  PASS   : components::Scrollbar::cleanupTestCase()
  Totals: 2 passed, 2 failed, 0 skipped, 0 blacklisted
  ********* Finished testing of components *********

  
  See 
https://jenkins.ubuntu.com/ubuntu-sdk/job/ubuntu-ui-toolkit-ci-amd64-devel/1201/consoleFull

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to