Skip to content

Duplicate systray icons #155

@waltmck

Description

@waltmck

Quick check

  • I searched existing issues first.

Description

I periodically see duplicate systray icons, as shown in the attached image (the duplicate icons are for iwgtk and mulltray):

Image

The behavior persists when restarting wayle. If you stop wayle and start hyprpanel, you will see that the icons are not duplicated in hyprpanel's systray. However, upon restarting wayle the duplication persists. It goes away upon a full system reboot.

I had a similar issue with hyprpanel until I reported it upstream to Astal, and it was fixed by this commit.

Steps to reproduce

The problem doesn't consistently reproduce However, if you run the below script:

for run in {1..10}; do iwgtk -i & sleep 1; kill -9 $!; done

usually something funky will happen. I sometimes get duplicate icons, and sometimes a placeholder icon after the last process ends.

Expected behavior

Removed tray items should be removed correctly, so that there are not duplicate icons.

Wayle version

0.2.1

Distro

NixOS 26.05

Compositor and version

Hyprland 0.54.3

Display setup

No response

Relevant config

Logs

Affected area

Bar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions