Scroll position adjusts even if thumb not moved #778
Labels
bug
Good First Bug
Approachable project for a new contributor
ToolKits
MouseGraphics, Icon, Button, Line Edit, List Box, etc.
Milestone
To Reproduce
Steps to reproduce the behavior:
Most of the time the thumb will shift by a few pixels and the content will scroll.
Expected behavior
Scroll thumb stays where released, content doesn't scroll.
MGTK's TrackThumb logic appears to not be "stable"; that is, after moving the thumb (which may result in an adjustment as the pixel position is mapped to a scroll fraction, then back), a subsequent non-move of the thumb results in a different position.
To fix will probably require deconstructing the current math and figuring out where the loss is happening.
The text was updated successfully, but these errors were encountered: