bevy/crates
aloucks 8122b35ce2
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-23 23:56:10 +00:00
..
bevy_a11y Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_animation Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_app Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
bevy_asset Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
bevy_audio Support decibels in bevy_audio::Volume (#17605) 2025-02-10 21:26:43 +00:00
bevy_color Upgrade to wgpu v24 (#17542) 2025-02-09 19:40:53 +00:00
bevy_core_pipeline Implement occlusion culling for directional light shadow maps. (#17951) 2025-02-21 05:56:15 +00:00
bevy_derive Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_dev_tools Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_diagnostic Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_dylib Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_ecs Small Commands error handling cleanup (#17904) 2025-02-23 22:41:43 +00:00
bevy_encase_derive Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
bevy_gilrs Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
bevy_gizmos Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
bevy_gltf Fixed bevy_image and bevy_gltf failing to compile with some features. (#17887) 2025-02-17 05:10:13 +00:00
bevy_image Fix 1x1 dds textures being interpreted as 1-dimensional (#17890) 2025-02-22 01:59:51 +00:00
bevy_input Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
bevy_input_focus Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_internal Added top level reflect_documentation feature flag. (#17892) 2025-02-23 21:21:50 +00:00
bevy_log Bump Rust tracy client version (#17867) 2025-02-15 21:07:40 +00:00
bevy_macro_utils Fix failing proc macros when depending on bevy through dev and normal dependencies. (#17795) 2025-02-11 18:28:15 +00:00
bevy_math Add ways to configure EasingFunction::Steps via new StepConfig (#17752) 2025-02-11 22:19:01 +00:00
bevy_mesh Retain skins from frame to frame. (#17818) 2025-02-18 00:56:04 +00:00
bevy_mikktspace Update typos to 1.29.6 (#17850) 2025-02-13 19:44:47 +00:00
bevy_pbr Reallocate materials when they change. (#17979) 2025-02-22 08:19:43 +00:00
bevy_picking Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
bevy_platform_support Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_ptr Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_reflect Add TypeRegistry::register_by_val (#17817) 2025-02-15 19:07:01 +00:00
bevy_remote Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_render Implement occlusion culling for directional light shadow maps. (#17951) 2025-02-21 05:56:15 +00:00
bevy_scene Only despawn scene entities still in the hierarchy (#17938) 2025-02-22 01:53:08 +00:00
bevy_sprite Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
bevy_state Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
bevy_tasks Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_text Allowed creating uninitialized images (for use as storage textures) (#17760) 2025-02-10 22:22:07 +00:00
bevy_time Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
bevy_transform Parallel Transform Propagation (#17840) 2025-02-23 20:43:09 +00:00
bevy_ui Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
bevy_utils Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
bevy_window Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
bevy_winit Fix window freezing when dragged or resized on Windows (#18004) 2025-02-23 23:56:10 +00:00