Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12.7, 5.12, 5.14.1
-
ee95f0e6830a504574ef5fa54b44a11b13d5a8ae (qt/qtdeclarative/5.15)
Description
QQuickMultiPointTouchArea updates the x and y properties in a naive way.
{{ dtp->setX(e->localPos().x());}}
{{ dtp->setY(e->localPos().y());}}
However when feeding these touch points into a canvas for drawing lines, what comes out are stair steps rather than lines because X and Y are reacted to separately.
The property changed updates should only be emitted after X and Y have been updated so that when the value is subsequently used, the canvas will draw a more appropriate motion.