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

No window when running example on Wayland, Sway #776

Closed
e00E opened this issue Jan 26, 2019 · 5 comments
Closed

No window when running example on Wayland, Sway #776

e00E opened this issue Jan 26, 2019 · 5 comments
Labels
DS - wayland H - help wanted Someone please save us S - enhancement Wouldn't this be the coolest?

Comments

@e00E
Copy link

e00E commented Jan 26, 2019

Maybe duplicate of #640 .

I was investigating alacritty/alacritty#2041 and tried to run an example:

cargo run --example window
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s
     Running `target/debug/examples/window`
WindowEvent { window_id: WindowId(Wayland(WindowId(94592017375568))), event: Refresh }

At this point I do not see a window, there is no further output and the command is still running.

sway --version
sway version 1.0-beta.2-274-g5f45a4bb (Jan 25 2019, branch 'makepkg')
@elinorbgr
Copy link
Contributor

elinorbgr commented Jan 26, 2019 via email

@e00E
Copy link
Author

e00E commented Jan 26, 2019

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.

@elinorbgr
Copy link
Contributor

elinorbgr commented Jan 27, 2019 via email

@goddessfreya
Copy link
Contributor

@vberger Has this been resolved with the changes in eventsloop v2?

@goddessfreya goddessfreya added DS - wayland B - bug Dang, that shouldn't have happened labels May 14, 2019
@aleksander
Copy link

aleksander commented Jul 6, 2019

@zegentzy yes, this bug is fixed in eventloop-2.0 branch, but reproducible in master. It is reintroduced by b8192ef.

@kchibisov 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
DS - wayland H - help wanted Someone please save us S - enhancement Wouldn't this be the coolest?
Development

No branches or pull requests

5 participants