Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large Scroll Moves are incorrectly reported in DemoScroll #351

Open
mkromberg opened this issue Jan 17, 2025 · 0 comments
Open

Large Scroll Moves are incorrectly reported in DemoScroll #351

mkromberg opened this issue Jan 17, 2025 · 0 comments
Milestone

Comments

@mkromberg
Copy link
Collaborator

Clicking beside the thumb in a Scroll is supposed to generate a "large move", at the moment it generates a move to the position where the mouse click happened.

Start DemoScroll and click twice in the same position about halfway down the vertical scroll bar. Notice the two scroll messages which both set the position to 568.

{"Event":{"EventName":"Scroll","ID":"F1.UPDOWN","EventID":"53d2058c-83a5-4dc9-84f5-07ef2861117e","Info":[2,568]}}
{"Event":{"EventName":"Scroll","ID":"F1.UPDOWN","EventID":"c151420e-61e1-4fad-9007-3fff2376c335","Info":[-2,568]}}

The correct behaviour for a click outside the thumb is to move the thumb as far as the second element of the Step property defines, while clicking on an arrowhead should move according to the first element. We do not support this property, but agreed that it should default to [1,10] a long time ago, and this was working until recently.

In other words, if the Thumb is at 1 and you click below the thumb, the events should report [2,11] for the first click, [2,21] for the next, etc - moving by 10 each time.

More information at https://help.dyalog.com/latest/Content/GUI/Properties/Step.htm.

@mkromberg mkromberg added this to the Blocking milestone Jan 17, 2025
mqasim23 added a commit that referenced this issue Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant