Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows need to be created in the winit event loop after receiving Resumed. #2241

Closed
2 tasks done
dtzxporter opened this issue Feb 8, 2024 · 1 comment · Fixed by #2427
Closed
2 tasks done

Windows need to be created in the winit event loop after receiving Resumed. #2241

dtzxporter opened this issue Feb 8, 2024 · 1 comment · Fixed by #2427
Labels
bug Something isn't working
Milestone

Comments

@dtzxporter
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

This will be a hard error in the future of winit, but with the newer version you must create the window objects inside the event loop after receiving Resumed. Not doing so will cause issues with various macOS platform features, fullscreen, wgpu bugs, etc.

Other platforms will send Resumed to emulate the behavior.

What is the expected behavior?

Iced creates the windows properly.

Version

master

Operating System

macOS

Do you have any log output?

N/A
@dtzxporter dtzxporter added the bug Something isn't working label Feb 8, 2024
@dtzxporter
Copy link
Contributor Author

Recently merged: rust-windowing/winit#3447

@hecrj hecrj added this to the 0.13 milestone May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants