swiftbar / SwiftBar

Powerful macOS menu bar customization tool
https://swiftbar.app
MIT License
2.92k stars 92 forks source link

SwiftBar not showing in menu bar #418

Closed marcschumacher closed 4 months ago

marcschumacher commented 4 months ago

Describe the bug After I opened SwiftBar the menu bar icon is not showing. When I force quit the application and start it again, it still does not work.

To Reproduce Just start the app.

Expected behavior The menu bar is showing and I can use the menu of SwiftBar.

Environment:

Additional Context:

melonamin commented 4 months ago

Please check this issue https://github.com/swiftbar/SwiftBar/issues/410 A couple of people reported the same only to find out that SwiftBar were beneath the notch.

marcschumacher commented 4 months ago

I don‘t have a notch. It is a MacStudio I am using.

melonamin commented 4 months ago

Ok. Please do what I requested in this comment

marcschumacher commented 4 months ago

I was able to figure out myself, actually I had this output

~ ❯❯❯ defaults read com.ameba.SwiftBar                                                                                                                     ✘ 1
{
    HideSwiftBarIcon = 1;
    MSAppCenter310AppCenterUserDefaultsMigratedKey = 1;
    MSAppCenter310CrashesUserDefaultsMigratedKey = 1;
    MSAppCenterInstallId = "268CC1B3-0DCA-4C0C-9926-57256F3C83BD";
    MSAppCenterPastDevices = {length = 1144, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000382 };
    MSAppCenterSessionIdHistory = {length = 460, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000156 };
    MSAppCenterUserIdHistory = {length = 455, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000151 };
    MakePluginExecutable = 1;
    NSNavLastRootDirectory = "~/Documents/swift-bar";
    NSNavPanelExpandedSizeForOpenMode = "{800, 448}";
    "NSStatusItem Visible Item-0" = 0;
    "NSStatusItem Visible Item-1" = 0;
    "NSStatusItem Visible mpd-control.20s.sh" = 0;
    "NSWindow Frame NSNavPanelAutosaveName" = "1320 725 800 448 0 0 3440 1415 ";
    "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "1345 708 410 239 0 0 3440 1415 ";
    PluginDirectory = "/Users/marc/Documents/swift-bar";
    SUAutomaticallyUpdate = 1;
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-06-25 06:06:28 +0000";
    SUSendProfileInfo = 0;
    SUUpdateGroupIdentifier = 3592087975;
    Shell = zsh;
    StealthMode = 0;
    Terminal = iTerm;
}

When I removed the only script from the plugin folder, the menu item immediately appeared again. Thanks for your support!

melonamin commented 4 months ago

👍