Question about UI rendering disparity in certain playback scenarios. #711
-
This might not be a bug so i figured that i'll try asking about this here. While using a display script to show play/pause indicator on playlist column:
Whenever a song is switched manually by either: 2023-05-04_15-09-24.mp4 Out of curiosity i've checked 2023-05-04_15-10-47.mp4Additionally in v1.6 the Volume Thumb also flashes, which doesn't happen anymore in v2. The only thing that comes to my mind is something similiar i've encountered in Jscript, where in case of those actions ( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The answer is a bit of a 'yes and no'. When playback automatically advances to the next track, it is buffered before the previous track finishes. So playback is continuous. When you manually play a track, that buffering has not happened, so there's a gap. In that short gap, the UI isn't told which track is being opened – it only knows that a track is loading. Hence, you see the 'Loading track...' message in the status bar. The title bar, seekbar and status bar behaviour are modelled on a very old foobar2000/Default UI version. The playlist view is essentially re-rendering whenever foobar2000 says it should. So it is intentional, but at the same time glitching like that is also undesirable. It is probably difficult to do much about it in the playlist view, but in the other areas it could only show the loading state if it persists for e.g. more than 50ms. It might be useful for you to check what behaviour you see in the current Default UI. As far as I can see, it behaves similarly, but with the glitching less obvious (perhaps it uses a delay like I mentioned). |
Beta Was this translation helpful? Give feedback.
Okay, I created an issue to reduce the flashing: #713