openai / openai/codex

Selected text is invisible under Dark High Contrast theme.

Open
#40,547 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug extension
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of the IDE extension are you using?

26.818.61809

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Linux, Plasma, Wayland

What issue are you seeing?

Selected text should become black, but it seems that the selection only changes the background colour.

https://github.com/user-attachments/assets/b6ec9106-a600-4041-8314-5a2773c9f8b5

What steps can reproduce the bug?

Set the IDE theme to Dark High Contrast, and select some text.

What is the expected behavior?

Black text on white background.

Additional information

Below is how VS Code's own "Chat" panel works. Codex should have worked this way.

https://github.com/user-attachments/assets/27cdabab-96bf-4e14-a24a-e20f86ff26c1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the selection behavior in the VS Code extension with the Dark High Contrast theme on Linux, Plasma, and Wayland, then trace the UI component that renders selected text. Done means selected text uses black foreground text on a white background, matching VS Code's Chat panel behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, vscode
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.