Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

No window icon in Wayland because app_id is not correctly set

No window icon in Wayland because app_id is not correctly set

Device

Any
Operating System

Linux distro running with Wayland and KDE

Issue

Spotify runs okay with Wayland now, though not without user input.
However, when run in Wayland the window icon does not display, instead the generic 'Wayland' yellow icon is shown. (Tested in KDE)

Steps the reproduce
1) Run Spotify on a Wayland-enabled distro

 

 

spotify --enable-features=WaylandWindowDecorations --ozone-platform=wayland %u

 

 

2) Observe: no windows icon (tested with KDE, not sure if the same occurs in Gnome)

Cause

1) This is because the app_id should be set correctly, but Spotify does not set any app_id. The app_id should be set, and it should match the .desktop file for the app (the first part of the name, before .desktop).

Observe the cause

1) Launch Spotify from the command line with Wayland debugging:

 

 

WAYLAND_DEBUG=1 spotify --enable-features=WaylandWindowDecorations --ozone-platform=wayland %u

 

 

2) Save the output
3) Search for 'set_app_id'
4) Observe:

 

 

set_app_id("")

 

 

 

Fix

1) The output should be:

 

 

set_app_id("com.spotify.Client")

 

 

Whereby Spotify sets an app_id and that app_id matches the first part of the desktop file name: which is: 'com.spotify.Client.desktop' i.e. the app_id should be 'com.spotify.Client'.

spotify-missing-app_id-in-wayland-Screenshot_20230822_185319.png
Reply
6 Replies

Thanks for the detailed bug report. Will take a look at it soon

Hey, I inspected the problem. It seems that the underneath graphical library is not setting the app_id. I am already in talks with the main developer about that. I get back when there's an update from their end

Hows it going? In GNOME its even worse and this happens as of today.

Still happening, hopefully there will be a fix/patch soon.

The code that fixed the icon issue in Wayland was recently merged at CEF. Once a new version is released, and incorporated into the Linux client, the problem will be solved

A version which fix the icon issue is out at the testing DEB repo

Suggested posts