Bug 455843

Summary: LivePreview disappears when closing background tab
Product: [Applications] kile Reporter: Thomas Murach <asiasuppenesser>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: REPORTED ---    
Severity: normal CC: asiasuppenesser
Priority: NOR    
Version First Reported In: 2.9.93   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thomas Murach 2022-06-23 12:16:14 UTC
SUMMARY
When editing the main tex file of a project, the live preview works very well. When keeping the tab of main tex file open / visible in the foreground and closing a background tab of e.g. a .bib file, the live preview disappears. To me this is (not super-annoying but) unexpected behaviour. I have to click into the main area of the editor again to a) restore the live preview and b) be able to continue writing. (Let me know if I should report the latter in a dedicated issue)


STEPS TO REPRODUCE
1. Open two tabs: the main .tex file and a .bib file
2. Make sure the tab of the .tex file is visible/active, the .bib file is in the background 
3. Click the little cross in the top-right corner of the background tab to close it

OBSERVED RESULT
The live preview of the main document, which is still visible, disappears. One cannot continue writing without clicking into the text editing area.

EXPECTED RESULT
Live preview remains visible, no need to click into the text editing area to continue writing.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSuse 15.3
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION
Kile is great, thanks a lot for your efforts!