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.84k stars 346 forks source link

Using preview tool corresponding to compiler #3851

Open e-dervieux opened 1 month ago

e-dervieux commented 1 month ago

Environment

This issue is largely documented here, it seems that TeXStudio does not automatically adapt its preview tool to the compiler used. This apparently caused a bug which ended up filling up the OP's hard-drive. The issue was not easily reproducible though, so it may be hard to solve.

Expected behavior

Preview command changes with compiler, i.e. compiling with pdflatex imposes a pdflatex preview, lualatex a lualatex preview, etc.

Actual behavior

Preview and compilation commands are independent, which may cause the aforementioned hard drive filling up process.