You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repro:
Start with the Slint Rust template. Ensure you are using Winit as a backend and Skia as a renderer.
Add a slint! block with a trivial second component (Just a Text). Show both of them at once using:
ui1.show();
ui2.show();
slint::run_event_loop();
Run the program. Attempt to close one of the windows by clicking the "X" button in the window decoration.
Expected: Based on behavior when running on X11, I think the window is supposed to close, even if the other window is still open.
Actual: The window does not close but becomes unresponsive. After clicking "X" on the second window's decoration both windows close and the call to run_event_loop() returns.
The text was updated successfully, but these errors were encountered:
This is a known problem with Wayland and winit: #4225
We'll be hopefully get that fixe din the next release
Closing this issue as a duplicate, but thanks anyway for reporting.
Repro:
Start with the Slint Rust template. Ensure you are using Winit as a backend and Skia as a renderer.
Add a
slint!
block with a trivial second component (Just a Text). Show both of them at once using:Run the program. Attempt to close one of the windows by clicking the "X" button in the window decoration.
Expected: Based on behavior when running on X11, I think the window is supposed to close, even if the other window is still open.
Actual: The window does not close but becomes unresponsive. After clicking "X" on the second window's decoration both windows close and the call to
run_event_loop()
returns.The text was updated successfully, but these errors were encountered: