Open-LaTeX-Studio icon indicating copy to clipboard operation
Open-LaTeX-Studio copied to clipboard

Preview Does Not Change After Generating Template Preview

Open klhes opened this issue 8 years ago • 2 comments

Steps to Reproduce

  1. Select File -> Open Template
  2. Select Plain Cover Letter
  3. Open the PDF Preview window if it's not open and check that the PDF preview for the template has been generated.
  4. Select File -> Open File
  5. Open a .tex file. Notice that the PDF preview does not change.
  6. Close Open Latex Studio
  7. Start Open Latex Studio
  8. Notice that the PDF Preview for welcome.tex is not generated.

Actual Result After generating a PDF preview for a template, the preview does not update after opening a new file or restarting Open Latex Studio.

Expected Result PDF previews should be generated normally after opening a template.

**NOTE: To generate PDF previews normally again, I deleted the .OpenLaTeXStudio folder in my Users folder and restarted Open LaTeX Studio.

klhes avatar Jun 19 '16 20:06 klhes

Happens on more than just templates. Switching files isn't updating the PDF preview most of the time on my system. Will have to investigate once I can get the code built.

KalKolberg avatar Jul 31 '16 18:07 KalKolberg

I've looked into this issue a little more, and here's what I've found:

  • After opening a document or template that uses the LaTeX Letter class, the preview will not change unless a document that also uses the Letter class is opened. Basically, once a Letter document is opened, only Letter previews will be generated.
  • The preview also locks up when the Multi-Purpose Title Page template is opened.

I'm able to force the previews to work normally again by deleting the preview.aux file. So, a possible solution to this issue would be to delete the preview.aux file when a new file is opened. Does anyone have any more insight into this?

klhes avatar Aug 03 '16 04:08 klhes