Autopilot-qt does not support QDateTime
Bug #1193397 reported by
Nicholas Skaggs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot Qt Support |
Fix Released
|
Undecided
|
Michael Zanetti |
Bug Description
A property that is initialized via function or variable doesn't seem to be introspectable with autopilot. For example, imagine my qml file contains this:
myProperty A= newCoolness()
myPropertyB = 1
myPropertyA will fail and give the noneType = none attribute error -- it returns a blank object -- when issuing a select against it. This even fails when using Omer's "retry function" to select_single, sleep and then loop until we get the result with a timeout. It
The myPropertyB however works as expected with no issue.
Related branches
lp:~mzanetti/autopilot-qt/add-date-time-introspection
- Christopher Lee (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Thomi Richards: Pending requested
- Autopilot Hackers: Pending requested
-
Diff: 61 lines (+18/-0)3 files modifieddebian/changelog (+6/-0)
driver/introspection.cpp (+6/-0)
tests/unittests/tst_introspection.cpp (+6/-0)
summary: |
- Dynamically set properties are not introspectable + Autopilot-qt does not support QDateTime |
Changed in autopilot-qt: | |
status: | In Progress → Fix Released |
status: | Fix Released → In Progress |
Changed in autopilot-qt: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
> For example, imagine my qml file contains this:
>
> myProperty A= newCoolness()
> myPropertyB = 1
This can be anything... Can you please provide more context? The way it stands here does not compile in QML.