Skip to content

Linux: 512x512 Maple Work icon is installed in the hicolor 256x256 directory #1599

Open

Description

@w3irdrobot

apps/maple-agent/app/packaging/maple-agent.png and maple-agent-dev.png are 512x512, but the Linux packaging puts them in the hicolor 256x256/apps directory:

  • apps/maple-agent/scripts/linux-release-appimage.py stages the icon at usr/share/icons/hicolor/256x256/apps/<bundle_id>.png
  • apps/maple-agent/scripts/linux-install.py reads it from there and installs it to ~/.local/share/icons/hicolor/256x256/apps/<bundle_id>.png (layout() and the owned_parents list in install())

Under the Icon Theme spec, a fixed-size directory should only hold icons of that size. GNOME scales the icon, so it still shows, but other icon lookups may choose the wrong size or scale it badly.

A possible fix is to stage and install to 512x512/apps, or to ship a real 256x256 copy as well. Nothing else reads the installer receipt or the icon path, so moving it only affects new installs. Existing installs keep their icon at the 256 path.

Reported along with the stale-menu-icon bug on Ubuntu 24.04 / GNOME 46 (Maple Work 0.0.23).

🤖 Generated with Claude Code

Activity

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

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