Bug 387234 - Disable Live Preview ignored on new files
Summary: Disable Live Preview ignored on new files
Status: RESOLVED FIXED
Alias: None
Product: kile
Classification: Applications
Component: user interface (show other bugs)
Version: 2.9.91
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-23 10:19 UTC by wisotzky
Modified: 2017-11-25 20:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wisotzky 2017-11-23 10:19:16 UTC
Disabling live preview via settings->configure kile->kile->live preview-> uncheck "enable live preview" does not disable it on newly opened documents although the corresponding area is greyed out.
Pressing the pdflatex button then compiles the document twice for the live preview and twice for actually pressing it.
For large documents this costs unnecessary time.

To completely disable live preview you have first to enable it, disable it on new documents and then disable it again.

The expected behaviour for "disable live preview" would be it to be completely disabled.
Comment 1 Michel Ludwig 2017-11-25 20:13:32 UTC
Git commit b74feac9f85c038ffa68bea3f9d011f82b1d759f by Michel Ludwig.
Committed on 25/11/2017 at 20:10.
Pushed by mludwig into branch 'master'.

Ensure that live preview event handlers don't trigger any action when live preview is disabled

M  +31   -1    src/livepreview.cpp

https://commits.kde.org/kile/b74feac9f85c038ffa68bea3f9d011f82b1d759f