Skip to content

[Bug] Broken rendering with auto-detected Kitty protocol on KDE Konsole — Sixel works #78

@gwpl

Description

@gwpl

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

  1. Open KDE Konsole
  2. Run mdfried some-file-with-images.md
  3. mdfried detects Kitty protocol
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions