Skip to content

Scroll position adjusts even if thumb not moved #778

@inexorabletash

Description

@inexorabletash

To Reproduce
Steps to reproduce the behavior:

  1. Start DeskTop
  2. Navigate to Sample.Media
  3. Preview Lorem.Ipsum
  4. Scroll about 3/4 down the file
  5. Click in the vertical scrollbar thumb, and release without moving the thumb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First BugApproachable project for a new contributorToolKitsMouseGraphics, Icon, Button, Line Edit, List Box, etc.bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions