-
Notifications
You must be signed in to change notification settings - Fork 228
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
[gui] sway: Window contents are not rendered on Wayland backend #211
Comments
Hi @oslerw, Druid does not yet have a native wayland API. There is a Draft PR pending: linebender/druid#1498 |
For me it seems to be working just fine on the current master on Wayland (also running sway), no idea how if druid is not there, yet :) |
@filmor -- out of curiosity, what version of Wayland are you running, and on what distro? I can do more testing to try to narrow down why it's reproducible on my system but not yours. |
This is Gentoo Linux. The relevant(?) versions are:
|
@oslerw @filmor Psst works perfectly fine for me on GNOME wayland. (I can verify it's running on wayland by running
|
isn't this fixed now ? |
It worked fine on Gnome Wayland, but doesn't for me on KDE Wayland now that I've switched. I'm also running NixOS. Since druid uses some GTK stuff I was able to force XWayland with |
Strange, it's working on Wayland for me. Can those affected please provide the output of:
And does the following command make it work how it should?
|
I'm also running into this issue on Hyprland using $ echo "$GDK_BACKEND:$WAYLAND_DISPLAY:$XDG_RUNTIME_DIR"
wayland:wayland-1:/run/user/1000 |
Describe the bug
When run in Sway, psst only displays the background of the window, but none of the contents. This means when first run, it display7s the log in screen as an empty white square. This is Wayland-specific as it doesn't happen when run in XWayland.
To Reproduce
dev
versioncargo run --bin psst-gui
Expected behavior
The contents of the windows should be displayed when using Wayland as the backend.
Screenshots
Log in screen, not working:
Log in screen, XWayland:
After setting up a profile via XWayland and launching via Wayland. Notice it seems to skip log-in, and remembers the user's theme setting:
Environment
Additional context
WAYLAND_DISPLAY= cargo run --bin psst-gui
release
buildThe text was updated successfully, but these errors were encountered: