Qt5.6: UbuntuListView unit test fails with TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Committed
|
Critical
|
Andrea Bernabei |
Bug Description
Failing unit tests with Qt 5.6:
********* Start testing of components *********
Config: Using QtTest library 5.6.1, Qt 5.6.1 (x86_64-
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
FAIL! : components:
Loc: [/tmp/buildd/
FAIL! : components:
Loc: [/tmp/buildd/
FAIL! : components:
Loc: [/tmp/buildd/
PASS : components:
Totals: 7 passed, 3 failed, 0 skipped, 0 blacklisted
********* Finished testing of components *********
See https:/
Related branches
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Zsombor Egri: Approve
- Cris Dywan: Pending requested
-
Diff: 41 lines (+5/-5)1 file modifiedtests/unit/visual/tst_ubuntulistview.10.qml (+5/-5)
tags: | added: qt5.6 |
summary: |
- UbuntuListView TypeErrors + Qt5.6: UbuntuListView unit test fails with TypeError |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
We were previously misusing mapToItem 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.