I am using the live preview feature of kile. This feature shows an embedded instance of okular, which always shows the current state of the compiled document. Live preview comes with forward syncing: When I move the cursor around in the editor window, there is a corresponding blue horizontal line in the document window which follows the cursor position to the corresponding position in the pdf document. Unfortunately this stops working when okular's "Trim Margins" feature is enabled (View --> Document Viewer --> Trim Margins). Then, the blue line still moves, but its position is off. I suspect that the code that positions the blue line simply doesn't know about the margin trimming, and how that affects how the text is positioned on the screen. Reproducible: Always Steps to Reproduce: 1. Open any non-trivial LaTeX document 2. Enable live preview 3. Enable forward sync 4. Move the cursor in the editor window; observe how the blue line follows in the document window 5. Enable "Trim margins" 6. Repeat 4. Observe how the blue line still moves, but its position is wrong
Could you add "Open any non-trivial LaTeX document" please ?
Created attachment 92018 [details] Example LaTeX document
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
At least in version 2.99.2 (on my system) the bug is still there.