Skip to content

Linux tray icon renders as a solid square on Quickshell-based bars (Omarchy) #130

Description

@cristianovalenca

On Arch/Omarchy, whose bar is Quickshell-based (omarchy.tray), the Flock tray icon is drawn as a solid square instead of the logomark. The tray menu and click behavior are fine, so only the image is wrong.

Cause: the symbolic icons use an SVG <mask> to cut the details out of the logomark (flock-cut in dev.flock.Flock-symbolic.svg, -stopped- and -warning-). The bar recolors symbolic icons by using the icon's alpha channel as a mask over the theme's foreground color. With the <mask> present, the result is a fully opaque square. Qt itself renders the SVG correctly (I checked with QSvgRenderer and QIcon::fromTheme), so it looks specific to how the bar loads and tints it.

Confirmed workaround: removing the <defs><mask>…</mask></defs> block and the mask="url(#flock-cut)" attribute from the three icons makes the logomark render correctly in the bar (after restarting the shell). The only loss is the small cut-out (the thin line and the dot in the wing).

Suggestion: bake the cut into the geometry instead of masking (e.g. subtract it from the path, or draw it with fill-rule="evenodd"), so the generated icons don't need a <mask>. That would also work in any other tray that tints by alpha. The -sites-symbolic.svg globe has no mask and renders fine.

Environment: Arch Linux (Omarchy), Quickshell tray (/usr/share/omarchy/shell/plugins/bar/widgets/Tray.qml), Flock 1.0.0 built from the .deb, icon theme Yaru-blue.

I'm happy to send a PR once this is approved.

Activity

  1. added theissue type on Nov 8, 2026
  2. lukas-frey commented on Nov 8, 2026

    @lukas-frey
    Member

    Thanks for reporting! I assigned the issue to you, please open a PR when you get the chance.

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

Metadata

Metadata

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions