org-latex-impatient icon indicating copy to clipboard operation
org-latex-impatient copied to clipboard

Wrong display location

Open failable opened this issue 4 years ago • 2 comments

When there are two org buffers both containing equations, the preview sometimes is not working properly.

Reproduce steps:

  1. Write some equations in org buffer 1, keep the cursor inside latex environment.
  2. Split current window.
  3. Write some equations in another org buffer 2 in the new window, keep the cursor inside latex environment.
  4. Switch to previous window. The preview in buffer 1 is showing properly.
  5. Switch to next window. The preview of equations in buffer 1 is not being show in buffer 2.
Screen Shot 2020-12-10 at 10 10 44 PM

failable avatar Dec 10 '20 14:12 failable

I can reproduce this. This might be an upstream bug of posframe, or could be a regression to avoid a whole bunch of preview buffers. Let me investigate a bit. In the mean time, one (dirty) workaround is to move your cursor out and back in the equations, or type something and then delete it.

yangsheng6810 avatar Dec 10 '20 20:12 yangsheng6810

Could you try the comment above at branch fix-multi-window?

yangsheng6810 avatar Dec 18 '20 00:12 yangsheng6810