FelixKratz / SketchyBar

A highly customizable macOS status bar replacement
https://felixkratz.github.io/SketchyBar/
GNU General Public License v3.0
5.45k stars 85 forks source link

Alias redraw issue #377

Closed capitanBOBO closed 1 year ago

capitanBOBO commented 1 year ago

I have outline vpn item as alias and after i'm closing outline, alias item stayed at bar. Maybe I should add something?

https://github.com/FelixKratz/SketchyBar/assets/29453809/9d9fba73-8415-4a9c-863b-33e5f4aae8cb

FelixKratz commented 1 year ago

Aliases are not designed to work properly with applications that are not constantly running. If the app is not running when sketchybar is launched, sketchybar will search for it continuously (which is resource intensive). After the app is found it will not check if the app has been quit before updating the alias, but silently fail to update the content, which results in the alias not updating at all.

cagdassalur commented 1 year ago

@capitanBOBO You might be interested in this if only you care about seeing the vpn connection status: https://github.com/FelixKratz/SketchyBar/discussions/12#discussioncomment-1216869

You can also set up something to hide/show the icon based on the application running and show a different icon when it's actually connected to vpn

FelixKratz commented 1 year ago

It should be fixed on master: 4058ffe. The update to v2.15.2 should fix this.