https://bugs.kde.org/show_bug.cgi?id=384972
Bug ID: 384972 Summary: No change of preview on format change of content (e.g. plain text -> Markdown) Product: kate Version: Git Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: plugin-preview Assignee: kwrite-bugs-n...@kde.org Reporter: kosse...@kde.org CC: kosse...@kde.org Depends on: 384448, 384449 Target Milestone: --- When editing a document and changing the format (like turning plain text into Markdown formatted one), the preview does not update. Even not when saving to a new file with a new file suffix. Reason is that the plugin relies on the MIME type reported for the document. Right now KTextEditor only estimates that MIME type on request instead of maintaining this property itself and notifying clients about any changes (see bugs this report depends on). Workaround: Best ensure the changed document is saved at least once (for MIME types only detected by file suffix). Then either close & open again the file or switch the preview plugin shortly to preview another open document. Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=384448 [Bug 384448] No KTextEditor::Document::mimeTypeChanged signal available https://bugs.kde.org/show_bug.cgi?id=384449 [Bug 384449] New documents (without storage url) have mimetype guessed without respecting selected mode/highlighting -- You are receiving this mail because: You are watching all bug changes.