-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Not detecting mouse release after alt-tab on windows #4418
Labels
bug
Something is broken
Comments
emilk
added a commit
that referenced
this issue
May 22, 2024
* Closes #3157 If the mouse leaves the canvas when dragging a slider, the slider will still move. --- To support this, I had to revert #4419 Despite that, I fail to reproduce the two issues it claimed to solve: * #4406 may have been solved in another way by this PR * #4418 I cannot reproduce on Mac. If it is still a problem, I think it should be solved by triggering a `PointerEvent::Released` when focus is lost (i.e. on alt-tab), and not on `PointerGone`
hacknus
pushed a commit
to hacknus/egui
that referenced
this issue
Oct 30, 2024
* Closes emilk#4406 * Closes emilk#4418 If `Event::PointerGone` occurs, it is treated as `PointerEvent::Released`.
hacknus
pushed a commit
to hacknus/egui
that referenced
this issue
Oct 30, 2024
* Closes emilk#3157 If the mouse leaves the canvas when dragging a slider, the slider will still move. --- To support this, I had to revert emilk#4419 Despite that, I fail to reproduce the two issues it claimed to solve: * emilk#4406 may have been solved in another way by this PR * emilk#4418 I cannot reproduce on Mac. If it is still a problem, I think it should be solved by triggering a `PointerEvent::Released` when focus is lost (i.e. on alt-tab), and not on `PointerGone`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
App: egui_demo_app (+ other egui-based apps)
OS: Windows 11
Git: 0bc59f5
Describe the bug
Sense::drag
Expected
Mouse should be detected as released once it is released. Other native windows apps seem to do this correctly, e.g. ms paint.
The text was updated successfully, but these errors were encountered: