QML Drag.active support is broken (crashes)
Bug #1229876 reported by
Gustavo Niemeyer
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtubuntu (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The documented (and simple) approach for doing drag & drop in QML applications is currently crashing inside Ubuntu Touch.
Discussing the issue in the ubuntu-touch mailing list, people confirmed the problem, and pointed out that they have either worked around the issue by reimplementing drag & drop by hand (with onPressAndHold, etc) or are still waiting for the problem resolution.
This is an example that crashes, for instance:
http://
It was obtained from the documentation at:
http://
This is the thread on the ubuntu-phone mailing list:
summary: |
- QML drag & drop support is broken (crashes) + QML Drag.active support is broken (crashes) |
affects: | qtubuntu → qtubuntu (Ubuntu) |
Changed in qtubuntu (Ubuntu): | |
status: | New → Confirmed |
Changed in qtubuntu (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
After some further debugging, this seems to be the offending line:
Drag.active: dragArea. drag.active
Without it, the crash goes away and dragging works in Ubuntu Touch too.