Created attachment 153522 [details] Screen recording. SUMMARY This is a purely aesthetic issue. When changing a song, the app's icon is displayed for a split second, which is visually annoying. Please see the screen recording. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20221104 KDE Plasma Version: 5.26.2 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.7 Graphics Platform: Wayland Graphics Processor: AMD Radeon RX 580 Series
I have an idea: delay showing the app icon for a short moment
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2324
Git commit cb89df0fbd1ddf7f95c7270e5bc6def83b3705ea by Fushan Wen. Committed on 14/11/2022 at 15:53. Pushed by fusionfuture into branch 'master'. applets/mediacontroller: avoid flashing application icon When the link of album art is available but StackView is empty, hide the fallback icon to prevent the icon from suddenly appearing and disappearing. FIXED-IN: 5.26.4 M +20 -12 applets/mediacontroller/contents/ui/AlbumArtStackView.qml https://invent.kde.org/plasma/plasma-workspace/commit/cb89df0fbd1ddf7f95c7270e5bc6def83b3705ea
Git commit 48a32ad19d63017e96a59d62c93b370df396f34b by Fushan Wen. Committed on 14/11/2022 at 15:56. Pushed by fusionfuture into branch 'Plasma/5.26'. applets/mediacontroller: avoid flashing application icon When the link of album art is available but StackView is empty, hide the fallback icon to prevent the icon from suddenly appearing and disappearing. FIXED-IN: 5.26.4 (cherry picked from commit cb89df0fbd1ddf7f95c7270e5bc6def83b3705ea) M +20 -12 applets/mediacontroller/contents/ui/AlbumArtStackView.qml https://invent.kde.org/plasma/plasma-workspace/commit/48a32ad19d63017e96a59d62c93b370df396f34b
On 5.26.4.1, one case seems to be fixed, but the problem still persists in a few other cases. In the following "audio player" refers to the strawberry player. *This is working* 1. start player 2. open the media tray icon 3. the player icon is *not* shown, only the album art, which as per my understanding is what the references commit handles *This is not working* 1. start playing an item on an album 2. open the media player tray icon 3. click the next button in the media tray popup 4. the strawberry icon is flashed before the song starts playing And this: 1. start playing an item on an album 2. open the media player tray icon 3. pin the media player tray popup 3. click the next button in strawberry 4. the strawberry icon is flashed before the song starts playing
(In reply to Peter Hoeg from comment #5) > On 5.26.4.1, one case seems to be fixed, but the problem still persists in a > few other cases. Likely a bug in the media player because the media player doesn't update the album art in time when song changes, so there will be a short momemnt the application icon is visible. Do you have the same bug when using Audacious/Elisa?
https://github.com/strawberrymusicplayer/strawberry/blob/3a4199240ee4201fb1091fce7a2cf2e78d24f8e2/src/core/mpris2.cpp#L385 Not a KDE bug. Please report the issue to strawberry.