mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[GH-ISSUE #211] [gui] sway: Window contents are not rendered on Wayland backend #155
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#155
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @keeakita on GitHub (Nov 15, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/211
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
devversioncargo run --bin psst-guiExpected 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
de5c12f8b2Additional context
WAYLAND_DISPLAY= cargo run --bin psst-guireleasebuild@jpochyla commented on GitHub (Nov 15, 2021):
Hi @oslerw, Druid does not yet have a native wayland API. There is a Draft PR pending: https://github.com/linebender/druid/pull/1498
@filmor commented on GitHub (Nov 17, 2021):
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 :)
@keeakita commented on GitHub (Nov 28, 2021):
@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.
@filmor commented on GitHub (Nov 29, 2021):
This is Gentoo Linux. The relevant(?) versions are:
@thebiblelover7 commented on GitHub (Jan 11, 2022):
@oslerw @filmor Psst works perfectly fine for me on GNOME wayland. (I can verify it's running on wayland by running
xeyes)I'm on arch using GNOME on wayland, and this is my
waylandandmutterversion@ToxicMushroom commented on GitHub (Mar 2, 2023):
isn't this fixed now ?
https://github.com/linebender/druid/pull/2079
and psst is already running with an app_id which means it runs on wayland in my experience.
@dacioromero commented on GitHub (Mar 9, 2023):
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
GDK_BACKEND=x11.@arch-btw commented on GitHub (Apr 1, 2023):
Strange, it's working on Wayland for me.
Can those affected please provide the output of:
echo $GDK_BACKEND:$WAYLAND_DISPLAY:$DISPLAY:$XDG_RUNTIME_DIRAnd does the following command make it work how it should?
GDK_BACKEND=wayland psst-gui@skykanin commented on GitHub (Sep 19, 2023):
I'm also running into this issue on Hyprland using
psstversionunstable-2023-05-13.System:
Linux 6.5.2, NixOS, 23.11 (Tapir), 23.11.20230911.3a2786e@tjofle commented on GitHub (Mar 8, 2025):
@dacioromero has a solution over at https://github.com/NixOS/nixpkgs/issues/220297#issuecomment-2190994288
(I won't pretend to understand what it means)
@arch-btw :
GDK_BACKEND=wayland psst-guidoes not work, it yields the same result as OPs screenshot (empty window).GDK_BACKEND=x11 psst-guidoes work.psst version:
unstable-2024-10-24@colemickens commented on GitHub (Jun 17, 2025):
I'm having a hard time understanding the state of things here.
psstnot callset_min_sizeto workaround this issue?psstjust entirely unusable on Wayland? I am very unsure of the positive reports here, I suspect they were falling to XWayland...@eConnah commented on GitHub (Dec 17, 2025):
I am a nixos user on aarch64-linux if that matters and I get the same issue its just a white window or grey depending on my theme, only usable through xwayland backend. Installed it today version: 0-unstable-2025-11-16