-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenA-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsA-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesAn addition or correction to our examples
Description
- Bevy version: 425570a (main as of today)
What you did
- Run the
button
example withcargo run --example button
.
What went wrong
- At first, the window is transparent.
- When moving the mouse, it displays the button
- When hovering over the button, the button says "hover"
- When pressing and holding down the mouse left button, it keeps saying "hover"
- It only says "pressed" after releasing the mouse left button
- If I move afterward the mouse, it goes back to "hover"
What I expected
- Window shows up immediately
- Button should say "pressed" as soon as I start holding down the button
- Button should stop saying "pressed" when I stop holding down the button
Currently it's basically the inverse.
Additional information
Removing WinitSettings::desktop_app()
fixes it.
This might be related to #11052. Supposedly, the updating mechanisms do not work as expected anymore.
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenA-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsA-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesAn addition or correction to our examples