https://bugs.kde.org/show_bug.cgi?id=528912
Bug ID: 528912
Summary: Wayland: Client-provided pixmap icons override desktop
file icons in Alt+Tab
Classification: Plasma
Product: kwin
Version First unspecified
Reported In:
Platform: EndeavourOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: tabbox
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
When running applications natively on a KDE Plasma Wayland session, the Alt+Tab
task switcher displays incorrect application icons instead of the expected
icons.
This issue has been observed with the following applications:
- Kdenlive
- OBS Studio
- qBittorrent
STEPS TO REPRODUCE
1. Start a KDE Plasma session using Wayland.
2. Launch Kdenlive, OBS Studio, or qBittorrent.
3. Press Alt+Tab to open the task switcher.
4. Observe the icons displayed for the running applications.
OBSERVED RESULT
The affected applications display incorrect icons in the Alt+Tab task switcher
when running natively on Wayland.
EXPECTED RESULT
KWin should display the correct application icons associated with their desktop
entries, or otherwise display an appropriate application icon.
SOFTWARE/OS VERSIONS
Operating System: EndeavourOS Linux (64-bit)
KDE Plasma Version: 6.8.3
KDE Frameworks Version: 6.32.0
Qt Version: 6.12.0
Kernel Version: 7.3.4-zen2-2-zen
Graphics Platform: Wayland
Processor: AMD Ryzen 5 PRO 4650G with Radeon Graphics
Memory: 16 GiB
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUS
ADDITIONAL INFORMATION
The affected applications have valid desktop entries with the expected icon
names, and KWin reports the correct desktop file identifiers.
For Kdenlive and OBS Studio, WAYLAND_DEBUG output showed that both applications
use the xdg_toplevel_icon_v1 protocol to send pixmap buffers through set_icon
rather than themed icon names through set_name.
Inspection of KWin 6.8.3 source code shows that XdgToplevelWindow::updateIcon()
prioritizes a non-null client-provided custom icon before attempting to resolve
the icon from the desktop file.
Launching the affected applications using XWayland (QT_QPA_PLATFORM=xcb) makes
the expected icons appear in the Alt+Tab task switcher.
The same visual issue has also been observed with qBittorrent, although its
exact icon protocol behavior has not yet been investigated.
This suggests that KWin may be prioritizing client-provided pixmap icons over
valid desktop-file icons in the native Wayland session.
--
You are receiving this mail because:
You are watching all bug changes.