AI Assistant:
Description
mdfried auto-detects Kitty graphics protocol when running in KDE Konsole, but rendering is broken — especially when scrolling. Forcing Sixel protocol via --debug-override-protocol-type sixel resolves the issue and renders correctly.
Konsole has full Sixel support but only partial Kitty graphics protocol support, which likely explains the mismatch.
Steps to Reproduce
- Open KDE Konsole
- Run
mdfried some-file-with-images.md
- mdfried detects Kitty protocol
- Scroll through the document — rendering artifacts / broken output
Expected Behavior
Either:
- mdfried should detect that Konsole's Kitty graphics protocol support is incomplete and fall back to Sixel, or
- Rendering with the Kitty protocol should work correctly in Konsole
Workaround
mdfried --debug-override-protocol-type sixel file.md
This produces correct rendering and scrolling behavior.
Environment
- mdfried: 0.18.2 (Arch Linux
extra/mdfried)
- Konsole: 25.08.2
- OS: Arch Linux