-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local lyrics are not displayed when switching panel visibility #452
Comments
Ah, can you check/upload debug logs of this happening? I suspect it is searching, it's just not picking it up when the panel becomes visible. I also expect this is not at new in v1.12 |
Nope, this has been present on previous releases. I was not understanding many times why I had no lyrics even if they were on files, and just now I was able to reproduce and understand the behavior. Playback with panel on not visible tab
Switching to lyrics tab
Stop and playing track again with visible tab
I would say it only searches if initially visible, not at switching. |
Yeah searches aren't currently triggered when a panel becomes visible. We could consider adding it but that might be a bit more complicated than it used to be now that searches have been taken out of the panel code to support searching when no panels are visible. That said, I agree there isn't much reason not to at least search the local sources and off the top of my head I would have said that's what we were doing but...clearly not. Woops. Historically I've not worried too much about there not being lyrics when a panel is created because you're not usually changing your layout, but tabs are a different story so that's a fair callout. |
I agree with this. Note CUI also allows to witch panel visibility by L. Clicking at the left area, so layouts where horizontal elements may be hidden (thus actually changing the layout) are also possible -without tabs-. And I would say that's particularly useful for lyrics or biography panels, since you may only want to see them on playback but hidden while managing the library or tagging. |
Foobar v1.6.18 and openlyrics 1.12
Not sure if this is a bug or just an omission in your design logic.
The default behavior is that no search is performed when the panel is not visible. That's ok for online sources.
But it seems it also applies to lyrics from files and tags. Therefore, if you have the panel on a hidden tab, if you start playback and then open the tab, it shows no lyrics (since no search was performed), even if there is zero need to search anything since the lyrics are already present at the file.
I see there are multiple possibilities:
I would say in any case the current behavior is not desirable or expected, since -as user- I would expect "search" to refer to online searching. And local lyrics should always display in any case when I open the panel.
Neither 1 nor 2 do anything which contradicts the available hidden panel setting behavior.
See the gif for the "problem".
Note even if the file has lyrics tags, when I double click to restart playback on the same track, it doesn't force a lyric search. Only when I switch to another track and then to the same track, it looks for the local tags. (or if I stop playback)
I have tested it with the "search with hidden panel" setting enabled, and obviously it works fine in such case.
The text was updated successfully, but these errors were encountered: