-
Notifications
You must be signed in to change notification settings - Fork 903
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
No window when running example on Wayland, Sway #776
Labels
Comments
As said in the other issue, given how wayland works a window does not exist until its contents have been drawn once.
However the winit examples do not draw anything, hence the windows never appear.
You may prefer to use the glutin examples to work with, as they draw something.
|
Thank you for the clarification. I did not realize the answer in the other thread also applies to the examples. It seems like the examples are intended to show a window so I still feel this is a bug but since you say this is expected Wayland behavior feel free to close this issue. |
I agree it is probably worth it to add some wayland-specific code that blanks the window in the examples, so that they can actually work.
Le 26 janvier 2019 23:23:11 GMT+01:00, Valentin <notifications@github.com> a écrit :
…Thank you for the clarification. I did not realize the answer in the
other thread also applies to the examples. It seems like the examples
are intended to show a window so I still feel this is a bug but since
you say this is expected Wayland behavior feel free to close this
issue.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#776 (comment)
|
1 task
@vberger Has this been resolved with the changes in eventsloop v2? |
kchibisov
added
H - help wanted
Someone please save us
S - enhancement
Wouldn't this be the coolest?
and removed
B - bug
Dang, that shouldn't have happened
labels
Aug 28, 2020
abclop99
added a commit
to abclop99/cloth_simulation
that referenced
this issue
Feb 22, 2023
Note: does not show window on Wayland because the window is only created when the contents are drawn. rust-windowing/winit#776 Following this tutorial: https://sotrh.github.io/learn-wgpu/
strohel
pushed a commit
to tonarino/winit
that referenced
this issue
Aug 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Maybe duplicate of #640 .
I was investigating alacritty/alacritty#2041 and tried to run an example:
At this point I do not see a window, there is no further output and the command is still running.
The text was updated successfully, but these errors were encountered: