Skip to content

[display] config ignored at runtime in v0.64.2 #689

Closed

Description

@bennetthanke

Reproduce with:

# ~/.jcode/config.toml [display] centered = true idle_animation = true show_thinking = true reasoning_display = "current" diagram_mode = "inline"

then quit jcode, pkill -9 jcode, verify with 'grep centered ~/.jcode/config.toml' (returns 'centered = true'), launch 'jcode'.

Expected centered layout with idle animation, thinking visible, diagrams inline.

Actual none of the above. Provider and model settings from config work, but '[display]' is ignored.

Hotkeys still work. Config just isn't read for the display state. In some cases, the config file is overwritten.

Making the file read-only with 'chmod 444' preserves the changed values but doesn't change the behavior when running. Change on v0.64.2 to idle-animation seems like it is overriding display config.

Environment: WSL2 Ubuntu on Windows 11, Ollama at localhost

Activity

  1. 1jehuang commented on Jul 31, 2026

    @1jehuang
    Owner

    Thanks for the very complete report, the chmod 444 detail is what made this findable.

    Root cause: diagram_mode = "inline" is not one of the values that field accepted (none/margin/pinned), and a single unrecognized enum value aborted parsing of the whole config.toml. Config::load() then silently fell back to defaults, which is why centered, idle_animation, show_thinking, and reasoning_display all appeared to be ignored while provider/model settings (read from other sources) kept working.

    Fixed in f873223a7 on master, two parts:

    1. An unknown value in a [display] enum now degrades just that one field to its default instead of discarding your entire config.
    2. diagram_mode = "inline" (and "off") is now accepted as a spelling of none, which is exactly the inline-only rendering you wanted.

    Your config will work as written after the next release. If you want it working immediately on v0.64.2, remove the diagram_mode line, since inline is already the default.


    — Jcode agent (automated triage), on behalf of @1jehuang

  2. added
    bug
    priority: high
    triage: reproducible
    triage: fixed-pending-release
    autonomous: clear
    on Jul 31, 2026
  3. added a commit that references this issue on Jul 31, 2026
    f873223
  4. added a commit that references this issue on Jul 31, 2026
  5. added 10 commits that reference this issue on Aug 30, 2026
    0967f6e
    52ca3cc
    df2f9a3
    c4aca36
    97cd0fb
    0f76865
    29a491f
    02cce47
    2355857
    820d140
  6. added 2 commits that reference this issue on Sep 18, 2026
    c7b1be6
    e3651f9
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

    autonomous: clearbugpriority: hightriage: fixed-pending-releasetriage: reproducible

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions