xbar icon indicating copy to clipboard operation
xbar copied to clipboard

dark/light toggle results in refreshing to stop

Open marcelja opened this issue 2 years ago • 1 comments

When I switch between dark/light mode, the bar does not refresh anymore. Example:

❯ cat test.1s.sh               
#!/usr/bin/env bash
export PATH='/bin:/usr/local/bin:/usr/bin:$PATH'

date

https://user-images.githubusercontent.com/12141700/156618088-551d93ec-abf0-4b91-b4cd-989a1f903bbc.mov

macOS version 12.2.1 xbar v2.1.7-beta

marcelja avatar Mar 03 '22 17:03 marcelja

Was it fixed? I'm currently facing a bug, that when you toggle from dark/light, it does not update the current state, so to toggle again I have to quit XBar and reopen it.

Detailed explanation of the bug: Dark is on; Click on extension icon; Click on 'Deactivate Dark Mode' button; Light is on; The extension's text still is "Deactivate Dark Mode", while it should be "Activate Dark Mode"; Cause of that, user is not able to toggle once again; Now, to use 'toggle' function, user has to kill XBar and relaunch it; Refreshing extension has no effect; It does not affect XBar neither other extensions.

gustavoilhamorais avatar May 11 '23 15:05 gustavoilhamorais