pft / mingus

GNU Emacs control of Music Player Daemon (MPD)
104 stars 19 forks source link

mingus-switch-to-playlist causes rendering issues with some packages #26

Open kahrkunne opened 7 years ago

kahrkunne commented 7 years ago

Related to https://github.com/ch11ng/exwm/issues/259.

Tl;dr: The following code in mingus-set-NP-mark is problematic:


  (save-window-excursion
    (mingus-switch-to-playlist)))```

This code basically relies on switching buffer and then switching back so fast that it's never rendered, but this causes problems with a few packages. Personally, I've experienced trouble with EXWM and ace-window.
pft commented 7 years ago

Thanks for reporting this.

Does commit 9963cd9 fix your issue? It should now update the now playing mark only when the playlist is actually visible.

kahrkunne commented 7 years ago

It only ever updated when the playlist was visible to begin with. Said commit does not fix the issue.