Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0
-
None
-
dfb3ccddfce6376cf8028ad31d6933b8fdfd1a47 (qt/qtdeclarative/5.12)
Description
The docs of TestCase::mouseDrag say "Note: this method does not imply a drop action, to make a drop, an additional mouseRelease(item, x + dx, y + dy) is needed."
However, you can find that exact line at the end of the function.
Additionally, it says "If \a delay is specified, the test will wait for the specified amount of milliseconds before releasing the button."
However, that delay is also used when pressing the button, and before each of the intermediate moves.
Attachments
For Gerrit Dashboard: QTBUG-72954 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
250061,2 | TestLib: Remove outdated note from TestCase.mouseDrag | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |