Dock Badges Stale Cache?

Describe the bug
Using GoldenChaos preset for my touch bar. Recently the dock badges go out of sync with the actual count (can't really say when it happens because it seems random?).

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Touch Bar

Screenshots
Touchbar:
image

My actual dock:
image

Now, to make sure it wasn't a problem with GoldenChaos, I created a simple button on the touchbar

set badgeNumber to get_dock_badge_for "Skype"
set dialogText to "Value retrieved is " & (badgeNumber)
display dialog dialogText

And I get the same thing

... which leads me to think, perhaps BTT is caching the value and not updating it? If I restart BTT then the dock badges will be correctly retrieved after that... until the next time it decides to annoy me, that is :rofl:

Device information:

  • Type of Mac: MacBook Pro (15-inch, 2018)
  • macOS version: Big Sur 11.2.3 (20D91)
  • BetterTouchTool version: 3.561 (1701)

Edit 20 hours later:
To clarify, this is not just happening to Skype... happens to Mail too (these are the only 2 dock badges I enabled).

Here's how it looks like at the time I'm editing this post ... Dock: Skype 3 Mail 98... Touch bar: Skype 2 Mail 93

@Andreas_Hegenberg do you think it is because BTT is caching the old values? And if yes, is there a way to signal to BTT to refresh and get new values, short of restarting BTT? Thanks!

Imprint | Privacy Policy