Open
Description
Describe the bug
Using wgpu
feature for eframe
, like in the hello_world
example:
--- a/examples/hello_world/Cargo.toml
+++ b/examples/hello_world/Cargo.toml
@@ -15,4 +15,5 @@
eframe = { workspace = true, features = [
"default",
+ "wgpu",
"__screenshot", # __screenshot is so we can dump a screenshot using EFRAME_SCREENSHOT_TO
] }
When I switch languages with alt+shift+1/2/3/4/5 (I have 5 languages) - my application freezes.
To Reproduce
- Set up several languages in Windows with alt-shift-number hotkeys (e.g. english for 1 and russian for 2)
- Run an
egui
app (an emptyfn update(...)
also works) witheframe
usingwgpu
backend - Change language via alt+shift+1/2 (has to be a different to the one currently active)
Expected behavior
Language changes, egui doesn't freeze.
Screenshots
hello_world_LsQYYCkjrB.mp4
Desktop (please complete the following information):
- OS: Windows 10
Additional context
May be related to #3739 - I don't know enough about egui/eframe/winit internals or Windows event loop handling to know for sure, but I suspect it's not related to changing language specifically.