Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.6.2, 5.8.0, 5.9.1
-
Ubuntu 16.04
Description
This is probably related to QTBUG-42277.
The dropped() signal from DropArea carries a "drop" parameter which contains an "urls" member, of type urllist. While this member can be saved and stored into another variable while the signal handler is executing, it seems that any copy of this variable get reset once the signal handler terminates.
Please try the attached test case, and drop some image files from another application. One would expect to see the same list of URLs being printed twice, but the second console.log() is not printing anything.
This but is made worse by the fact that its natural workaround (copying the url list one member at a time) is unbelievably slow (it takes about half a second to save each element!), which is probably another bug per se.
Attachments
Issue Links
- relates to
-
QTBUG-42277 urllist type is not exposed (even to QML)
-
- Open
-