Skip to content

fix: garbled gutter symbols on collapsed inline diff hunk #686

@batonogov

Description

@batonogov

Summary

Line 37 in gutter shows garbled symbols (arrows/brackets) instead of a clean line number when an inline diff hunk is collapsed. Appears to be remnants of expand/collapse indicator or Accept/Revert buttons rendering incorrectly.

Screenshot

Line 37 shows ⟨37⟩ with decorative symbols instead of a plain line number.

Context

Seen after PR #685 (remove phantom overlay for modified lines). The modified hunk no longer shows overlay text, but the gutter decoration for the collapsed hunk renders garbage.

Implementation ideas

  • Check what draws in the gutter area for collapsed modified hunks
  • Ensure gutter only shows the fold/expand arrow, not button fragments

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXUser experiencebugSomething isn't workingeditorCode editor related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions