Skip to content

[request] implement xdg_toplevel_icon_manager_v1 wayland protocol #45638

Description

@alexsch01

Replaced by #49285


Preflight Checklist

Problem Description

Electron apps in toolbox/distrobox running in Wayland mode show the default Wayland icon
KDE Plasma 6.3 comes with support for the xdg_toplevel_icon_manager_v1 wayland protocol
Chromium has implemented the protocol for PWA[+] apps[/+][-] apps: https://issues.chromium.org/issues/356424077[/-]
[+]Chromium 135.0.7021.0 implements the protocol for the default Chrome logo[/+][-] For the main Chrome icon, they currently set it to nil which I'm tracking over at https://issues.chromium.org/issues/394111279[/-]

Proposed Solution

Upstream chromium: https://chromium-review.googlesource.com/c/chromium/src/+/5755162

Alternatives Considered

Outside of toolbox/distrobox, you would have to have a .desktop file for each app to get the right icon
Regarding toolbox/distrobox, none

Additional Information

https://wayland.app/protocols/xdg-toplevel-icon-v1

Activity

  1. nikwen commented on Feb 14, 2025

    @nikwen
    Member

    Thanks for the feature request! As someone not familiar with xdg_toplevel_icon_manager_v1, would you be able to explain what the benefit for the end user will be?

  2. alexsch01 commented on Feb 14, 2025

    @alexsch01
    ContributorAuthor

    Currently as it works today
    If you run an Electron app (with an icon set) in Wayland mode inside of a distrobox container, the icon in the taskbar will be the default yellow Wayland icon.

    In Chromium, they implemented this protocol for PWAs so opening a Chrome PWA in Wayland mode inside a distrobox container will have the correct icon in the taskbar

  3. alexsch01 commented on Feb 14, 2025

    @alexsch01
    ContributorAuthor

    The benefit for the end user would be not seeing the default Wayland icon on the taskbar for an Electron app (if configured to run in Wayland mode)

  4. RipFacuu commented on Feb 16, 2025

    @RipFacuu

    excellent contribution

  5. alexsch01 commented on Feb 18, 2025

    @alexsch01
    ContributorAuthor

    Chrome 135.0.7021.0 implements the protocol for the default Chrome logo

    EDIT (April 3), Chromium (and forks) implement the protocol due to getting a stable release of Chromium 135

  6. alexsch01 commented on Jul 12, 2025

    @alexsch01
    ContributorAuthor
  7. TuxTheAstronaut commented on Jul 20, 2025

    @TuxTheAstronaut

    This would be very nice to have. I have a electron app i build into a App Image and unless I make a .desktop file entry for it then there will be no icon for my app.

  8. alexsch01 commented on Aug 14, 2025

    @alexsch01
    ContributorAuthor

    As of Chrome Beta 140 today's build, Chromium defaults to Wayland

    @nikwen don't know if anyone is willing to work on this

  9. nikwen commented on Aug 14, 2025

    @nikwen
    Member

    @alexsch01 I understand this feature would help some users. Please do us a favor and don't ping maintainers. We already get so many notifications. Thanks! :)

  10. alexsch01 commented on Aug 14, 2025

    @alexsch01
    ContributorAuthor

    Sorry my bad

  11. nikwen commented on Sep 29, 2025

    @nikwen
    Member

    Potentially related if icons don't work for your app: #48391

  12. alexsch01 commented on Dec 11, 2025

    @alexsch01
    ContributorAuthor

    This does cause the latest VSCode to not have an icon under distrobox unless XDG_SESSION_TYPE=x11 was set

  13. alexsch01 commented on Dec 30, 2025

    @alexsch01
    ContributorAuthor

    This issue #49285 replaces this

  14. alexsch01 commented on Jan 2, 2026

    @alexsch01
    ContributorAuthor

    This issue was closed because I realized the toplevel-icon protocol was working (inherited from Chromium), the new issue is more specific

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions