aseba-community / thymio-vpl2

Next generation VPL for Thymio using Qt Quick from Qt 5.x
GNU Lesser General Public License v3.0
2 stars 5 forks source link

Visual artefact on block panes scroll #79

Closed stephanemagnenat closed 7 years ago

stephanemagnenat commented 7 years ago

When one scrolls the block panes, sometimes an artifact appears.

This bug can be reproduced by clicking in-between two blocks, and scrolling up and down the pane with the mouse on a computer.

marvelous commented 7 years ago

Looks like a QT bug? mouse.y randomly reports a negative value in the positionChanged signal when scrolling quickly up and down.

Or maybe this would not happen if we used a MouseArea over the whole ListView instead of one MouseArea over each Block

stephanemagnenat commented 7 years ago

Can we make a quick workaround (filtering unrealistic value changes?) and build a minimal test case to submit as a bug report to Qt?

marvelous commented 7 years ago

It looks like the negative values were not effecting this visual glitch, it was the second hypothesis: when the mouse cursor was outside the grabbed block, the list would return to its bounds.