Error: Cannot assign to non-existent property "activeFocusOnPress"
Bug #1532953 reported by
Olivier Tilloy
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Low
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Low
|
Olivier Tilloy |
Bug Description
When launching webbrowser-app on the latest rc-proposed touch images, I’m seeing the following errors in the console:
file://
file://
I’ve been seeing those for a few weeks now, but forgot to report the bug until now, as browser functionality doesn’t seem to be degraded.
Related branches
lp:~osomon/ubuntu-ui-toolkit/child-activeFocusOnPress
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Cris Dywan: Approve
-
Diff: 112 lines (+50/-10)2 files modifiedsrc/Ubuntu/Components/1.3/TextField.qml (+15/-9)
tests/unit_x11/tst_components/tst_focus.qml (+35/-1)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Olivier Tilloy (osomon) |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
importance: | Undecided → Low |
assignee: | nobody → Zoltan Balogh (bzoltan) |
milestone: | none → ww08-2016 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It appears the TextField component attempts to set activeFocusOnPress to false on all the children of its primaryItem and secondaryItem. This doesn’t work for plain QtQuick items, which don’t have this Ubuntu-specific property. The code should probably check for the existence of the property before trying to set it.