Bug 467323

Summary: Preview blinks and skips to first page on every change
Product: [Applications] kate Reporter: Henning <boredsquirrel>
Component: plugin-previewAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Henning 2023-03-14 10:03:36 UTC
SUMMARY
At the moment the Preview plugin is not really usable


STEPS TO REPRODUCE
1. Create a md document longer than one page
2. Write something, enable auto reload in the preview plugin
3. try to scroll down in the preview and edit the document

OBSERVED RESULT
The preview plugin blinks constantly, which is horrible (epileptic typiiiing)
Also when you edit something, it skips to the first page. When I delete that text again, it skips to where I was again, really weird.

EXPECTED RESULT
Somehow load the diff instead of the whole document, or maybe load invisible and only make the new document visible when when its loaded, blending the old and the new one together, instead of OLD->nothing->NEW (blinking)

Skip to the current page on the preview.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.15-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 Christoph Cullmann 2023-12-28 20:49:00 UTC
The preview plugin is not maintained, if you want to have this improved, please
submit a merge request, otherwise that will stay the way it is at the moment.

https://kate-editor.org/join-us/

I am sorry that does create issues for you, but the only other fix would be to remove it.