You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run it again, but this time without Wayland, so it falls back to XWayland or something: env WAYLAND_DISPLAY=foobar123 ./slint-app
Again, Use the GNOME Looking Glass to inspect the app window. Note that the WM_CLASS is slint-app.
Side-effects
When packaged as an app, and shipped along with a slint-app.desktop launcher file and a slint-app-logo.png app icon, they GNOME fails to correctly associate them with the app process/window because of null WM_CLASS.
How to reproduce
Log into a GNOME Wayland session.
Run any Slint hello-world Rust program. Suppose that the app binary is named
slint-app
:./slint-app
Use GNOME Looking Glass to inspect the app window. Note that the WM_CLASS is
null
.Run it again, but this time without Wayland, so it falls back to XWayland or something:
env WAYLAND_DISPLAY=foobar123 ./slint-app
Again, Use the GNOME Looking Glass to inspect the app window. Note that the WM_CLASS is
slint-app
.Side-effects
When packaged as an app, and shipped along with a
slint-app.desktop
launcher file and aslint-app-logo.png
app icon, they GNOME fails to correctly associate them with the app process/window because ofnull
WM_CLASS.Bug environemnt
Operating System: Ubuntu 22.10, GNOME 43.1, Wayland
Slint version: 1.0.0
Rust version: 1.66.1
The text was updated successfully, but these errors were encountered: