Skip to content

KDE Plasma Wayland: taskbar icon shows generic Wayland W icon #31678

Closed as not planned

Description

@BorisDay

Description

Problem

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

  1. Install OpenCode Desktop v1.17.0 via .deb on Debian 13 with KDE Plasma 6 (Wayland session)
  2. Launch OpenCode from the application launcher
  3. Observe: icon is correct in the launcher menu
  4. Observe: once the app window appears, the taskbar icon switches to the generic Wayland "W" icon

Screenshot and/or share link

No response

Operating System

Debian 13 (Trixie), KDE Plasma 6, Wayland

Terminal

Konsole (Opencode CLI unaffected by the bug)

Activity

  1. github-actions commented on Aug 10, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions