Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF Preview Will Not Display Blank Document #110

Open
klhes opened this issue Jun 10, 2016 · 2 comments
Open

PDF Preview Will Not Display Blank Document #110

klhes opened this issue Jun 10, 2016 · 2 comments

Comments

@klhes
Copy link
Contributor

klhes commented Jun 10, 2016

Description:
The PDF Preview window will not display a blank document.

Steps to Recreate:

  1. Open LaTex Studio
  2. Open Existing Document
  3. Delete all content

Expected Result
When all content is deleted, the PDF Preview window will be blank.

Actual Result
The last content to be deleted remains in the PDF Preview window.

@sebbrudzinski
Copy link
Owner

sebbrudzinski commented Jun 11, 2016

I think this is a problem that needs to be tackled at a higher level. The reason the PDF preview does not display a blank page is becuase it fails to generate a new one from the current source. When such failure occurs, the latest generated preview remains in the view. The question is, what we want to do when the preview cannot be generated. Hiding/blanking the page might not be the best idea, because the preview is updated periodically and the user might be just typing something (which may not be compilable) and in which case we do not want to hide the preview from him.

@klhes
Copy link
Contributor Author

klhes commented Jun 13, 2016

That's a very good point regarding situations where a user is typing something that may not be compilable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants