bevy/crates
aloucks 8628545122 Fix window freezing when dragged or resized on Windows (#18004)
# Objective

Fixes #17488

## Solution

The world update logic happened in the the `about_to_wait` winit window
callback, but this is is not correct as (1) the winit documentation
states that the callback should not be used for that purpose and (2) the
callback is not fired when the window is resized or being dragged.
However, that callback was used in #11245 to fix an iOS bug (which
caused the regression). The solution presented here is a workaround
until the event loop code can be re-written.

## Testing

I confirmed that the `eased_motion` example continued to be animated
when dragging or resizing the window.


https://github.com/user-attachments/assets/ffaf0abf-4cd7-479b-83e9-e1850aaf3513
2025-02-24 23:16:53 +01:00
..
bevy_a11y Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_animation Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_app Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_asset Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_audio Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_color Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_core Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_core_pipeline Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_derive Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_dev_tools Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_diagnostic Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_dylib Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_ecs Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_encase_derive Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_gilrs Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_gizmos Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_gltf Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_hierarchy Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_image Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_input Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_internal Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_log Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_macro_utils Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_math Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_mesh Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_mikktspace Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_pbr Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_picking Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_ptr Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_reflect Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_remote Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_render Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_scene Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_sprite Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_state Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_tasks Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_text Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_time Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_transform Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_ui Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_utils Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_window Release 0.15.2 2025-02-06 22:39:44 +01:00
bevy_winit Fix window freezing when dragged or resized on Windows (#18004) 2025-02-24 23:16:53 +01:00