Skip to content

MCP server settings command block renders with selection-like highlights #4509

@NightGlowww

Description

@NightGlowww

Environment

  • Open Design desktop: 0.11.0
  • Bundle identifier: io.open-design.desktop
  • macOS: 27.0 (26A5353q)
  • Display observed on: built-in Liquid Retina XDR display

Steps to reproduce

  1. Open Open Design desktop.
  2. Go to Settings -> MCP server.
  3. Select Claude Code in the CLI command dropdown.
  4. Look at the generated command block under Run this in your terminal.

Actual behavior

The generated claude mcp add-json ... command is displayed inside a dark code block, but the wrapped command lines render with light/white rectangular highlights behind the text. It looks like the command content is permanently selected, or that selection/highlight styles are leaking into the normal display state.

This makes the command harder to read and makes the MCP server setup UI look visually broken.

Expected behavior

The command should render as normal monospaced code with stable contrast and no selection-like highlight unless the user is actively selecting text. Long generated commands should either wrap cleanly or scroll horizontally without highlight artifacts or clipping.

Notes

I am not attaching the original screenshot because it contains local filesystem paths. The issue is visible in the default MCP server settings view before pressing the Copy button. A possible area to check is the command display component styling around pre/code/textarea selection styles, forced user-select, or wrapped-line background handling.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions