junrrein/pdfslicer

Wrong appid on Wayland

nicolasfella opened this issue · 2 comments

When running pdfslicer on Wayland the app_id is set to "pdfslicer". However this should match the name of the .desktop file, which is "com.github.junrrein.PDFSlicer".

Due to this desktop environments cannot map the window to the .desktop file, which breaks several shell features, such as correct icons and app names in the window switcher

From running WAYLAND_DEBUG=1 pdfslicer:
[1369499.894] -> xdg_toplevel@35.set_app_id("pdfslicer")

Apparently that's a pretty fundamental limitation in GTK3: https://gitlab.gnome.org/GNOME/gedit/-/issues/486#note_1353182