Skip to content

YACReader Library displays Wayland compositor logo instead of app icon on KDE Plasma Wayland #527

@zjDrummond

Description

@zjDrummond

Environment:

  • YACReader version: 9.16.3.0
  • Installation method: Flatpak from Flathub
  • OS: Kubuntu 25.10
  • Desktop Environment: KDE Plasma 6.4.5
  • Display Server: Wayland

Description:

When running YACReader Library on KDE Plasma under Wayland, the application displays the generic Wayland compositor logo in the titlebar instead of the correct YACReader Library icon.

Root Cause:

The application is reporting an incorrect Wayland app_id to the compositor. This was confirmed using KWin's window query tool:

qdbus6 org.kde.KWin /KWin org.kde.KWin.queryWindowInfo

The relevant output shows:

desktopFile: YACReaderLibrary
resourceClass: YACReaderLibrary

The actual Flatpak desktop entry file is named:

com.yacreader.YACReader.YACReaderLibrary.desktop

KDE uses the desktopFile value reported by the application to look up its corresponding desktop entry and retrieve the correct icon. Because the app is reporting the short name YACReaderLibrary instead of the full reverse domain name format com.yacreader.YACReader.YACReaderLibrary, KDE cannot match the window to its desktop entry and falls back to displaying the generic Wayland compositor logo.

Expected Behavior:

The application should report its Wayland app_id as com.yacreader.YACReader.YACReaderLibrary to match its Flatpak desktop entry filename, following the Flatpak convention for reverse domain name app IDs.

Actual Behavior:

The application reports YACReaderLibrary as its app_id, causing KDE to be unable to match the window to its desktop entry, resulting in the generic Wayland compositor logo being displayed in the titlebar instead of the correct application icon. Note that the taskbar icon displays correctly.

Steps to Reproduce:

  1. Install YACReader via Flatpak from Flathub
  2. Launch YACReader Library on KDE Plasma with Wayland session
  3. Observe the titlebar and taskbar — the Wayland compositor logo is displayed instead of the YACReader Library icon

Metadata

Metadata

Assignees

No one assigned

    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