Skip to content

Icon stays in dock after quitting preference window #396

@samcarter

Description

@samcarter

Describe the bug

After quitting the SwiftBar preferences, the SwiftBar icon stays in the dock. This behaviour seems to have started after today's update to version 2.0.0. I installed 2.0.0 BETA 1 again and don't see this problem there.

To Reproduce
Steps to reproduce the behaviour:

  1. Left click on any SwiftBar plugin in the menu bar and open the SwiftBar preferences
  2. The preference window will open as desired. At the same time as the preference window opens, also the dock icon of SwiftBar appears. So far so good.
  3. After closing the preference window, the SwiftBar dock icon remains visible. It stays visible even after moving the focus to another application, switching spaces. etc. The only way I found to remove it from the dock is to quit SwiftBar and open it again. Then it will happily run again in the menu bar without dock icon.

Expected behavior
I would expect that the dock icon would vanish when closing the preference window

Environment:

  • macOS version: 14.2.1
  • SwiftBar version: 2.0.0
  • SwiftBar Settings:
    Screenshot 2024-01-01 at 19 26 50

Additional Context:

  • I don't run Bartender/Dozer/etc. or tested the issue without it running

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions