Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon stays in dock after quitting preference window #396

Closed
1 task done
samcarter opened this issue Jan 1, 2024 · 2 comments
Closed
1 task done

Icon stays in dock after quitting preference window #396

samcarter opened this issue Jan 1, 2024 · 2 comments
Milestone

Comments

@samcarter
Copy link

samcarter commented Jan 1, 2024

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
@melonamin
Copy link
Contributor

Oops :)

2.0.1 BETA 1

@samcarter
Copy link
Author

@melonamin Whatever magic you did, 2.0.1 works great! Thanks a lot!

@melonamin melonamin added this to the 2.0.1 milestone Jan 2, 2024
melonamin added a commit that referenced this issue Mar 12, 2024
Signed-off-by: Alex Mazanov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants