Subject: bug#36680: 27.0.50; undo-tree visualizer flickering with display-buffer-reuse-frames -> t

From: Michael Heerdegen <[email-masked]>
Date: Thu, 18 Jul 2019 05:01:06 +0200

Michael Heerdegen <[email-masked]> writes:

> As said, this is not the problem.

BTW, the call tree looks like

undo-tree-visualize > switch-to-buffer-other-window
                    > pop-to-buffer with t ACTION
                    > display-buffer with t ACTION
                    > display-buffer-reuse-window

and the last blindly uses the first window in

  (get-buffer-window-list buffer 'nomini frames)

which can be a window of a different frame even if there is a suitable
window in the selected frame.  That's not good IMHO.

Michael.