maxrave-dev / maxrave-dev/SimpMusic

Bug: Multiple system tray icons continuously spawning (Zombie Icons)

Open
#2,315 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
11.4k
Forks
599
Avg merge
3d 18h
Merged PRs (30d)
7

Description

Duplicate Check
  • I confirm I searched for existing reports and found no duplicates.
Describe the Bug

When the application is running, it continuously spawns new instances of the system tray icon instead of updating the existing one. This results in dozens of identical media/play icons stacking up in the Windows tray overflow menu.

Actual Behavior:
The application abandons the old system tray icons without sending an exit command to Windows, creating a brand-new icon for every state change. These abandoned "zombie" icons remain in the tray until the user hovers over them with the mouse cursor, which forces Windows Explorer to manually ping and clear the dead processes.

Environment:

OS: Windows 10

Additional Context:
Using MediaFlayout by https://github.com/krlvm/MediaFlyout

Steps to Reproduce

Using MediaFlayout by https://github.com/krlvm/MediaFlyout
Install MediaFlayout, and start the SimpMusic (installed via install script)

Expected Behavior

Expected Behavior:
The application should maintain and update a single system tray icon. Old icons should be properly destroyed/unregistered from the system tray whenever the playback state changes.

App Version

1.7.0

Android Version

Windows Laptop

Device Model

AMD R5 3500U Vega 8 iGPU

Custom ROM
  • I am using a custom ROM
Custom ROM Name (if applicable)

No response

Screenshots (optional)
Image
Image
Log / Error Details

NA

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on Windows 10 using the installed SimpMusic 1.7.0 build and MediaFlyout, then trace how the system tray icon is created and updated during playback-state changes. Done means repeated state changes leave one tray icon, with old icons properly unregistered instead of remaining as zombie entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.