I recently migrated from VS Code/CoPilot to Cursor. This problem is unique to Cursor as I haven’t encountered it in VS Code.
When viewing large PDFs of LaTeX documents (40-60 pages), the entire document isn’t loaded into the viewer. This causes erratic scrollbar and synctex behavior, e.g., I have to repeatedly grab and drag the scrollbar to get to the top of the document, as though it’s newly discovering the pages above and forgetting the pages below.
This causes problems with synctex, causing it to jump to random pages or to jump down a page every time a change is saved to the document, as it can’t actually identify the real point in the document that needs to be viewed.
I have tried multiple viewer settings, including tab and browser. Both have the same problem.
I am currently opening the files with a separate PDF Viewer extension which properly loads the entire file, but doesn’t support synctex.
I was having the same problem. I think the issue is the version of LaTeX Workshop: you are using v10.7.5, which requires VS Code 1.96.0, however, your version of Cursor (0.44.11) is using VS Code 1.93.1.
A workaround that worked for me was to downgrade the version of LaTeX Workshop to v10.7.1.
I guess that when Cursor updates its version of VS Code, the problem will get automatically solved and we will be able to use again the latest version of Latex Workshop.
I was having the same problem and I solved it by downgrading Latex Workshop to v10.7.1.
On a side note, in VS Code with 1.96.0 and Latex Workshop v10.7.5 it works perfectly fine.