Bug 476053 - Document Preview plugin does not mention dependency to kmarkdownwebview
Summary: Document Preview plugin does not mention dependency to kmarkdownwebview
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kate
Classification: Applications
Component: plugin-preview (show other bugs)
Version: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-24 15:22 UTC by Lassi Väätämöinen
Modified: 2023-12-29 10:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lassi Väätämöinen 2023-10-24 15:22:03 UTC
SUMMARY
The Document Preview plugin UI just says "Preview not available", without hinting the problem of missing KMarkdownWebview.


STEPS TO REPRODUCE
1. Open Kate
2. Enable Document Preview plugin from settings
3. Create a markdown file, *.md
4. Create markdown text, and open Documente Preview tool view
 

OBSERVED RESULT
"Preview not available"

EXPECTED RESULT
"Missing kmarkdownwebview...", in case a required software dependency is missing. Maybe in the  "Diagnostics" view, or something

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.2.0-33-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11850H @ 2.50GHz
Memory: 46,7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: LENOVO
Product Name: 20YRS21300
System Version: ThinkPad P15 Gen 2i
Comment 1 Christoph Cullmann 2023-12-28 20:49:34 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.
Comment 2 Lassi Väätämöinen 2023-12-29 10:40:28 UTC
(In reply to Christoph Cullmann from comment #1)
> The preview plugin is not maintained, 

> but the only other fix would be to remove it.


I recently discovered that Okular with auto-refresh works as well, or even better, since you don’t need to switch to tool view side panel. So can live with the removal, too.