Created attachment 163556 [details] On the left is the Document rendering as expected in Konquerorr using WebEngine as expected. On the right is Kate with the file open, with the preview pane failing to behave as expected. Hopefully this is something easy to fix. Just would like to preface with my infinite gratitude for the fine people of the various KDE projects. SUMMARY When opening an HTML file with Kate, using the Document Preview Plugin, it does not work as expected. The Preview pane merely shows the file in its naked state, not rendering anything. Essentially just a copy of the code in the mane pane. I have tried manually setting it to HTML but with no such luck. I have also made sure I am on the right character set. I have opened the file in Konquerer and the file renders as expected, and since the preview pane uses the same engine to render this is puzzling. I notice that if you open the file directly from the preview pane, it sends you to a temporary file. In my instance this is "/tmp/kate.qLUkQt". You will notice the extension is not .html, I imagine this has a lot to do with the confusion of the preview pane. I have not found a way to redirect the preview pane to the actual file instead of this temporary file, nor should I really have to do that. Hopefully I am not just making a dumb mistake, but I feel like this should be pretty straightforward. Observe the included screenshot. On the left is the Document rendering as expected in Konquerorr using WebEngine as expected. On the right is Kate with the file open, with the preview pane failing to behave as expected. STEPS TO REPRODUCE 1. Activate Document Preview Plugin (which is included, at least in Debian) 2. Restart Kate for good measure 3. Open HTML or HTM File OBSERVED RESULT Plain black on white text in the preview pane, as if WebEngine loaded a text file. EXPECTED RESULT A rendered HTML Document being displayed in the Preview Pane Linux: Debian Stable KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8
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.