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
{{ message }}
Repository navigation
KDE Plasma Wayland: taskbar icon shows generic Wayland W icon #31678
When OpenCode Desktop is launched on KDE Plasma 6 (Wayland session), the taskbar icon changes from the correct OpenCode icon to the generic Wayland "W" icon. The icon shows correctly in the application launcher, but once the app window appears, KDE cannot match it to the .desktop file.
What was tried
.desktop file has Icon=opencode-desktop and icons exist in /usr/share/icons/hicolor/*/apps/opencode-desktop.png (32, 64, 128)
Changed StartupWMClass to opencode-desktop, OpenCode, ai.opencode.desktop — none fixed it
Created a symlinked .desktop file named ai.opencode.desktop.desktop — did not fix
Removed and reinstalled from scratch — same result
Root cause
The Electron app'''s internal Wayland app-id does not match the installed .desktop file name (opencode-desktop.desktop). The app'''s code references ai.opencode.desktop as the prod app-id, but the .desktop file is named opencode-desktop.desktop. KWin uses the Wayland app-id for window-to-desktop-file matching and cannot associate the running window.
Suggested fix
Either rename the .desktop file to match the app'''s Wayland app-id, or ensure the Electron desktopName matches the installed .desktop file name.'
Plugins
No response
OpenCode version
v1.17.0 (installed via .deb)
Steps to reproduce
Install OpenCode Desktop v1.17.0 via .deb on Debian 13 with KDE Plasma 6 (Wayland session)
Launch OpenCode from the application launcher
Observe: icon is correct in the launcher menu
Observe: once the app window appears, the taskbar icon switches to the generic Wayland "W" icon
Activity
github-actions commentedon Aug 10, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.