inedible-dev/MusicBar

unreadable text at the unfocused display menubar

mintyleaf opened this issue · 10 comments

and yeah, that album art tend to disappear after some time
image

looked trough the code - album art is actually just an button ui element icon, which is likely supposed to not to be at the center
maybe you just using another macOS version with different ui elements handling or idk

Yep, saw someone commented this too. I'll try to figure what happened, and sort it out. But if you have some ideas how to fix this, it would be awesome!

But if you have some ideas how to fix this, it would be awesome!

firstly:
https://developer.apple.com/documentation/appkit/nscontrol/imageposition

you don't set it anywhere, so it fallbacks to something, which is right in your case, but not in mine (different macOS version or idk)

secondly:
not sure about "appearsDisabled", but maybe this is it:
https://developer.apple.com/documentation/appkit/nsstatusbarbutton
maybe this could help too:
https://developer.apple.com/documentation/uikit/uimenuelement/attributes

not sure why image is "unavailable", according to the checkAvailability function, which is replacing it by rays
I'd prefer to have ♪ symbol instead of that rays spinner in that cases
or maybe after some timeout when it's clearly that something wrong with album art fetching

not sure why image is "unavailable", according to the checkAvailability function, which is replacing it by rays
I'd prefer to have ♪ symbol instead of that rays spinner in that cases
or maybe after some timeout when it's clearly that something wrong with album art fetching

yeah, this seems to be a good fit for the icon, will definitely edit that!

edited that, could you try cloning the latest commit in #9?

yep, unreadable text is fixed

image
it's still occurring as soon, as actual album art is fetched (I opened video, and it was ok on the other screen until image is fetched)
for me album arts is loading mostly for YouTube, Spotify is remaining without it most of the time (but I remember that it actually worked few times, which is strange enough)
so yeah, seems like that fix applied only for non-image style

Screenshot 2022-11-30 at 8 14 04 AM

yep, seems like a weird thing again. Mine doesn't show the art even. So I guess it's a Catalina problem again😥
I'll try to find a workaround

I'll take a look at this in a later date, if it's still occurring, please open a new issue or tag me here!