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

Fix dragging a slider with a tooltip #13489

Conversation

TomEdwardsEnscape
Copy link
Contributor

Fixes #11296 by not clearing pointer capture unless the Pointer object has actually captured the pointer.

What is the current behavior?

Currently pointer capture is always cleared when a window closes and destroys its Pointer. This means that if a window A closes while window B has mouse capture, window B incorrectly loses its capture.

Breaking changes

None.

Obsoletions / Deprecations

None.

Fixed issues

Fixes #11296

@maxkatz6 maxkatz6 added this pull request to the merge queue Nov 6, 2023
Merged via the queue into AvaloniaUI:master with commit 130c4db Nov 7, 2023
6 checks passed
@TomEdwardsEnscape TomEdwardsEnscape deleted the fixes/closing-tooltip-clears-pointer-capture branch November 8, 2023 22:24
@maxkatz6 maxkatz6 added the backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch label Nov 28, 2023
@maxkatz6 maxkatz6 added backported-11.0.x and removed backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch labels Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slider with tooltip not releasing mouse capture
3 participants