https://bugs.kde.org/show_bug.cgi?id=410087

            Bug ID: 410087
           Summary: Kate preview plugin doesn't render Markdown with
                    kmarkdownwebview plugin installed
           Product: kate
           Version: 19.04.2
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: plugin-preview
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: jman012...@gmail.com
                CC: kosse...@kde.org
  Target Milestone: ---

SUMMARY
I'm unable to view a preview of any Markdown document using kmarkdownwebview.
I've ensured that kmarkdownwebview is installed correctly and is functioning
(thumbnails are generated in Dolphin when kmarkdownwebview is built with
-DUSE_QTWEBKIT=TRUE). I was able to get a preview of one document immediately
after building kmarkdownwebview, but after closing Kate and reopening it, I'm
unable to get a preview. This problem persists if I remove and reinstall
kmarkdownwebview.

STEPS TO REPRODUCE
1. Clone kmarkdownwebview repository: git clone
https://github.com/KDE/kmarkdownwebview.git
2. Enter the new directory: cd kmarkdownwebview
3. Get the latest stable version: git checkout tags/v0.5.5
4. Configure kmarkdownwebview: cmake -DKDE_INSTALL_USE_QT_SYS_PATHS=TRUE
-DUSE_QTWEBKIT=TRUE .
5. Build: make
6. Install: sudo make install
7. Set kmarkdownwebview as embedded Markdown viewer: Plasma settings >
Applications > File Associations > text/markdown > Embedding > move Markdown
Web View (kmarkdownwebviewpart) to the top
8. Open an existing Markdown file in Kate with preview plugin enabled

OBSERVED RESULT
Preview panel stays blank except for a "No preview available" message


EXPECTED RESULT
Preview panel renders a web view version of the current Markdown document.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 30
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to