Value of MouseArea.enabled property always incorrectly reported as True
Bug #1170764 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot Qt Support |
Fix Released
|
Undecided
|
Olivier Tilloy | ||
autopilot-qt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1) Run the attached QML example in qmlscene, with the '-testability' command line argument:
qmlscene test.qml -testability
2) Run the autopilot GUI: autopilot vis
3) In the autopilot GUI, select QtQmlViewer, and select the QQuickMouseArea in the hierarchy of objects
4) Inspect the value of the 'enabled' property
Expected result: autopilot reports False
Current result: autopilot reports True
Related branches
lp:~osomon/autopilot-qt/do-not-override-properties
- Michael Zanetti (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 14 lines (+3/-1)1 file modifieddriver/introspection.cpp (+3/-1)
affects: | autopilot → autopilot-qt |
Changed in autopilot-qt: | |
assignee: | nobody → Olivier Tilloy (osomon) |
status: | New → In Progress |
Changed in autopilot-qt: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I suspect that this has to do with the fact that MouseArea inherits from Item, and it overrides the 'enabled' property.
Could it be that the introspection incorrectly gets the parent property? Or that it gets both properties, but only one is exposed in autopilot?