retext icon indicating copy to clipboard operation
retext copied to clipboard

Synchronized scrolling in live preview is offset after edit in case LaTeX formulas are present

Open Arnache opened this issue 10 months ago • 0 comments

My config

Ubuntu 24.04LTS ReText 8.02 Installed MathJax locally with sudo apt install libjs-mathjax

Issue, with steps to reproduce

Enable WebEngine (Chromium) Type a somewhat long text with math in it. Now move back to the middle of the edited text and type one character: then the preview auto-updates, but the scrolling is wrong (what you typed is off-screen).

Possible cause

I suspect the scrolling is computed before the math is rendered, because the preview shows TeX being gradually converted.

Workaround

You recover the right scrolling by pressing any arrow key.

Arnache avatar Feb 10 '25 09:02 Arnache