-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Winit 0.29 follow up #11052
Copy link
Copy link
Closed as not planned
2 / 32 of 3 issues completedLabels
A-InputPlayer input via keyboard, mouse, gamepad, and morePlayer input via keyboard, mouse, gamepad, and moreA-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-FeatureA new feature, making something new possibleA new feature, making something new possibleC-Tracking-IssueAn issue that collects information about a broad development initiativeAn issue that collects information about a broad development initiativeD-Domain-ExpertRequires deep knowledge in a given domainRequires deep knowledge in a given domainD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixesA "normal" level of difficulty; suitable for simple features or challenging fixes
Metadata
Metadata
Assignees
Labels
A-InputPlayer input via keyboard, mouse, gamepad, and morePlayer input via keyboard, mouse, gamepad, and moreA-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-FeatureA new feature, making something new possibleA new feature, making something new possibleC-Tracking-IssueAn issue that collects information about a broad development initiativeAn issue that collects information about a broad development initiativeD-Domain-ExpertRequires deep knowledge in a given domainRequires deep knowledge in a given domainD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixesA "normal" level of difficulty; suitable for simple features or challenging fixes
A few shortcuts were taken in #10702 in order to merge it in a reasonable amount of time.
This issue serves to :
Feel free to create or ask a dedicated issue for any listed task, if you feel like it's worth it.
Known regressions (important follow ups?)
UpdateMode::Reactiveis brokenAlton Windows discards key information rust-windowing/winit#2945window.request_redraw();fromAboutToWait, and handle actual redrawing withinRedrawRequested. I'm not sure how to move all that code so I'd appreciate it to be a follow up.Follow up
I'd like to avoid bloating this PR, here are a few follow up tasks worthy of a separate PR, or new issue to track them once this PR is closed, as they would either complicate reviews, or at risk of being controversial:
CanvasParentResizePlugin(Update winit dependency to 0.29 #10702 (comment))CanvasParentResizePluginRemove CanvasParentResizePlugin #11057NamedKeyintegration on bevy_input: Revise Key, KeyCode enums rust-windowing/winit#3143 introduced a new NamedKey variant. I implemented it only on the converters but we'd benefit making the same changes to bevy_input.KeyboardInputUpdate winit dependency to 0.29 #10702 (review)RenameKeyCodetoPhysicalKeyCodeUpdate winit dependency to 0.29 #10702 (comment)dropped: RenameKeyCodetoPhysicalKey#11692instantdependency, replaced byweb_time), we'd need to update to fastrand >= 2.0.winit_window.canvas().unwrap();)WindowBuilder::with_append()to append canvas #11065pre_present_notifyWinit 0.29 follow up #11052 (comment)WindowEvent::Occludedinto account #11229