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

Unintuitive behavior when clicking on WinForms Slider track #3153

Open
mhsmith opened this issue Feb 3, 2025 · 1 comment
Open

Unintuitive behavior when clicking on WinForms Slider track #3153

mhsmith opened this issue Feb 3, 2025 · 1 comment
Labels
bug A crash or error in behavior. windows The issue relates to Microsoft Windows support.

Comments

@mhsmith
Copy link
Member

mhsmith commented Feb 3, 2025

Discussed in #3152

Originally posted by alpharou February 3, 2025
On windows clicking a slider with ticks somewhere except the handle does not reflect correctly:
image
slider_click

Also, this too, increments by 1 or 2 on every mouse click or drag update:
image
slider_no_ticks

On Android works just fine without changing any code.

@mhsmith mhsmith added bug A crash or error in behavior. windows The issue relates to Microsoft Windows support. labels Feb 3, 2025
@mhsmith
Copy link
Member Author

mhsmith commented Feb 3, 2025

It looks like the standard behavior of the native control is to move the handle towards the click, not to the actual location of the click. For example, see this discussion. However, the distance it moves is controlled by the LargeChange property, which we're currently leaving at its default value. We should set it to something consistent with the other scale properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A crash or error in behavior. windows The issue relates to Microsoft Windows support.
Projects
None yet
Development

No branches or pull requests

1 participant