texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.74k stars 342 forks source link

Going to pdf causes log pane to jump to message pane #3760

Open flenzen opened 1 month ago

flenzen commented 1 month ago

Environment

Expected behavior

When ctrl-clicking a source line, the bottom panel pane currently open should stay open.

Actual behavior

If there is any pane open, the message pane is opened. When opening the original pane again, scroll state is lost. Screencast:

vokoscreenNG-2024-08-12_15-31-11.webm

How to reproduce

Compile a document that either causes an error, an overfull box, or a warning, open the log pane, and ctrl-click on the corresponding source line to jump to pdf. Alternatively, open the preview or search results pane, and ctrl-click a source line.

octaeder commented 1 month ago

check this #2297

flenzen commented 1 month ago

This changes the behaviour slightly. The message pane is not opened automatically anymore, but the contents of the log pane vanish, and reappear only once I reopen the pane. See screencast:

vokoscreenNG-2024-08-12_17-35-17.webm