Bug 425182

Summary: Livepreview: continued compilation of prev failed/aborted compilation can fail
Product: [Applications] kile Reporter: Albert Zeyer <albzey>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: REPORTED ---    
Severity: normal CC: cfeck
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 342772    

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