Autopilot cannot find OtObjects by objectName
Bug #1447391 reported by
Josh Arenson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
New
|
Undecided
|
Unassigned | ||
Autopilot Qt Support |
New
|
Undecided
|
Unassigned |
Bug Description
When trying to select an object by objectName, QtObjects do not work.
Steps to reproduce
1. Run one of the below qmlfiles with
$ QT_LOAD_
2. Run autopilot vis and select the app you started in step 1.
With QtObject
http://
- OtObject doesn't show up in autopilot vis
With Item
http://
- Exact same code, but wrapped in an Item instead, shows up in autopilot vis
This is causing autopilot tests to fail when calling select_
To post a comment you must log in.
I haven't had the chance to dig into this yet, but I would presume that this is either:
- Due to some optimisation made by the qml engine and libautopilot-qt can't actually see that object
or
- It is related to this bug[1] where libautopilot-qt doesn't export (all) non-visual objects.
I need to do a little more research before I can suggest a fix.
At any rate this is related to the libautopilot-qt project so I'll add that to this bug.