Bug 476142 - Flickering on preview
Summary: Flickering on preview
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kate
Classification: Applications
Component: plugin-preview (other bugs)
Version First Reported In: 23.08.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-27 08:51 UTC by Henning
Modified: 2023-12-28 20:49 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 Henning 2023-10-27 08:51:04 UTC
The preview plugin is really nice. But it has an issue, when activating the "auto reload" mode

- loads the page
- you make a change
- it closes the preview and loads it again

This causes a flicker, as the preview goes black for some milliseconds.

An Alternative would be something like only load the updated preview when it is finished, or always wait x milliseconds (easier but depending on document size and processor not that easy).

Having the reloaded page fade in using transparency (opposed, current preview fading out, new preview fading in) would make it look awesome and smooth.

Currently the flickering makes it pretty unpleasant, even though the live mode is pretty nice.
Comment 1 Christoph Cullmann 2023-12-28 20:49:11 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.