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

[bug] Window not showing on Wayland #503

Closed
Tim-Paik opened this issue Jul 28, 2022 · 5 comments
Closed

[bug] Window not showing on Wayland #503

Tim-Paik opened this issue Jul 28, 2022 · 5 comments

Comments

@Tim-Paik
Copy link

Valid for all examples
tag: tao-v0.12.1 everything is normal
tag: tao-v0.13.0 window does not display, taskbar icons are created normally
Everything works fine in x11 mode (using GDK_BACKEND=x11 environment variable)

Environment
› OS: Arch Linux Rolling Release X64
› DE: GNOME 42.3 + Wayland
› rustup: 1.25.1
› rustc: 1.62.1
› cargo: 1.62.1
› Rust toolchain: stable-x86_64-unknown-linux-gnu

@Tim-Paik Tim-Paik changed the title Window not showing on Wayland [bug] Window not showing on Wayland Jul 28, 2022
@wusyong
Copy link
Member

wusyong commented Jul 28, 2022

Does the frame of the window still show up?
Could you test if it's caused by this PR?
#495

@Tim-Paik
Copy link
Author

Does the frame of the window still show up? Could you test if it's caused by this PR? #495

The window frame is not displayed. For the latter, I think yes, b905852 can be displayed normally, but not after db7e5cb

@wusyong
Copy link
Member

wusyong commented Jul 28, 2022

Okay I got a wayland setup and found disabling double buffer cause this.
I'll need to find out if it can be painted by GL libraries when remove that line.
But I haven't done wayland support yet.
If you are urgent, I can comment out that line first as patch.

@Tim-Paik
Copy link
Author

It's not a big problem for me, my application is still stuck in tao 0.12.1, and I can use the x11 backend to avoid it in my development. But hopefully this issue doesn't affect tauri, which would break native Wayland support.
Thanks for your work!

@Tim-Paik
Copy link
Author

Fixed! #504

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants