mingus icon indicating copy to clipboard operation
mingus copied to clipboard

No faces in playlist

Open seagle0128 opened this issue 1 year ago • 1 comments

While playing and switch to the playlist buffer, the faces disappear after one sec. If stop the timer (minugs-cancel-timer), and refresh the buffer, all faces are correct. If click to play the next one, faces disappear again.

According to my investigation, it's related to mingus-set-NP-mark and mingus-timer-handler. My workaround is

(advice-add #'mingus-set-NP-mark :after (lambda (&rest _) (mingus-redraw-buffer)))

seagle0128 avatar Sep 05 '22 11:09 seagle0128

I found the root cause. mingus-playlist-mode is called in mingus-switch-to-playlist, which will remove all faces from the playlist buffer.

The current workaround is

(add-hook 'mingus-playlist-hooks #'mingus-redraw-buffer)

seagle0128 avatar Sep 05 '22 18:09 seagle0128