Closed val461 closed 4 months ago
Are the .synctex.gz
files generated? Did you use something like -output-directory
? And, in Configure TeXstudio - Commands, is CLI option -synctex=1
used for commands PdfLaTeX, XeLaTeX, and LuaLaTeX?
Workaround
Right-click on internal viewer and "go to source".
Ah, so the synctex is working, just shortcut Cmd + Click doesn't work as expected.
Are the
.synctex.gz
files generated? Did you use something like-output-directory
? And, in Configure TeXstudio - Commands, is CLI option-synctex=1
used for commands PdfLaTeX, XeLaTeX, and LuaLaTeX?Workaround
Right-click on internal viewer and "go to source".
Ah, so the synctex is working, just shortcut Cmd + Click doesn't work as expected.
Are the
.synctex.gz
files generated?
Yes.
Did you use something like
-output-directory
?
I don't think so.
And, in Configure TeXstudio - Commands, is CLI option
-synctex=1
used for commands PdfLaTeX, XeLaTeX, and LuaLaTeX?
Yes.
Ah, so the synctex is working, just shortcut Cmd + Click doesn't work as expected.
Yes. On another editor (VSCode with Latex Workshop extension), Cmd + Click still works for inverse search. But forward search never worked on VSCode for me, which is one reason I use TexStudio.
A left click (without the Cmd key) on the internal viewer scrolls one page lower too, whether clicking on a link or on regular text.
So, links with the hyperref package no longer work in the internal viewer (but still work with other viewers).
I use a trackpad. (Main post updated with these details.)
The issue suddenly got resolved during use (maybe by toggling twice the auto-hide feature of the viewer toolbar). Thanks.
s. Pdf-Viewer menu Window/Show/Toolbar
I don't find "Window/Show/Toolbar", but the internal viewer is working now anyway.
In the windowed viewer you find:
Environment
Expected behavior
The cursor jumps to the corresponding part in the Latex code. The focus goes from the internal viewer to the editor.
Actual behavior
The cursor stays in place. The focus stays on the internal viewer. The internal viewer scrolls one page lower.
How to reproduce
Compile a Latex document. Show it with the internal viewer. Hold the command key, click on a part of the pdf, then release the command key.
Workaround
Right-click on internal viewer and "Go to Source".
Seemingly related bug
A left click (without the Cmd key) on the internal viewer also scrolls one page lower, whether clicking on regular text or on a link of the hyperref package. (Links still work with other viewers.)
Other details
I tried two different files, they had this same bug. This bug started about a week ago I think. Or maybe since my last update of macOS, from 13.5.2 to 14.0 on 2023-09-28 11:51 AM.