Skip to content

[Bug] Unexpected renderer process error: Cannot use numerical key for object container #4899

Closed

Description

@Hickays

Description

The error looks similar to #4827 , but I have discovered a stable way to reproduce it

Steps to Reproduce

  1. Copy three lines of text with one empty line between each line:

    a
    
    b
    
    c
    
  2. Press the following keys in order:

    • -
    • Space
    • Ctrl + V
    • ↑
    • ←
    • -
    • Space
    • Shift + Tab
    • ↓
    • Backspace

Just like in the video

2026-07-09.15-33-48.mp4

Expected Behavior

Render the list correctly

Actual Behavior

Pop up a warning

Screenshots / Logs

Unexpected renderer process error
Error: Cannot use numerical key for object container
at assert (file:///D:/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:146470:24)
at insertChildMut (file:///D:/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:146509:99)
at drop2 (file:///D:/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:146614:127)
at drop2 (file:///D:/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:146611:27)
at Object.apply2 [as apply] (file:///D:/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:146621:9)
at JSONState._apply (file:///D:/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:147289:44)
at JSONState._flushOperationCache (file:///D:/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:147442:10)
at file:///D:/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:147422:12

Operating System

macOS

MarkText Version

0.20.0-rc.1

OS Version

Windows 11

Reproducibility

  • I can reliably reproduce this issue

Activity

  1. added a commit that references this issue on Sep 14, 2026
    f8f5999
  2. added a commit that references this issue on Sep 14, 2026
    a351c50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions