Bug 425182 - Livepreview: continued compilation of prev failed/aborted compilation can fail
Summary: Livepreview: continued compilation of prev failed/aborted compilation can fail
Status: REPORTED
Alias: None
Product: kile
Classification: Applications
Component: general (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks: 342772
  Show dependency treegraph
 
Reported: 2020-08-10 09:54 UTC by Albert Zeyer
Modified: 2022-05-10 15:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Zeyer 2020-08-10 09:54:41 UTC
SUMMARY

This is about LivePreview.

When the compilation is in progress, as soon as I type anything into the document, it aborts and kills the compilation.

When it continues the compilation at some point, because of previous aborts, some aux files are broken, and then the PDF either fails to compile, or is partly incorrect.

I guess the best way is to never continue a failed compilation, but to always start afresh.


STEPS TO REPRODUCE

I think it is relevant to have a big Latex project (such that compilation time is not instant, such that you have a chance to trigger this).

I created this demo project: https://github.com/albertz/big-latex-demo

Then trigger live preview compilation, then type sth, maybe switch tabs or so, such that it causes an abort of the live preview. Now undo your changes, and again trigger the live preview compilation. It will try to continue the previous compilation. And this can fail now, if aux files are incomplete/broken.


OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 20.04
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION