Copy button not distinguishable in VSCode code snippet preview

Resolved 💬 6 comments Opened Nov 6, 2025 by nos1609 Closed Nov 11, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the VS Code extension are you using?

0.4.35

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Windows 11 25H2 ARM64 + WSL Fedora 42 Aarch64

What issue are you seeing?

No copy button in code snippet previews in VSCode using default dark mode

<img width="767" height="326" alt="Image" src="https://github.com/user-attachments/assets/80946ad1-cbf6-4bf4-aabb-128afbf15675" />

What steps can reproduce the bug?

Ask codex to generate a git clone command, wait for an answer with instructions, point the cursor in the top right corner of the code snippet.

What is the expected behavior?

Copy icon is visible and distinguishable by another contrasting color even without pointing the cursor on it.

Additional information

Discovered that there is a hidden button somewhere out there by chance, not really an intuitive UI for me.

View original on GitHub ↗

6 Comments

github-actions[bot] contributor · 9 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #6290

Powered by Codex Action

gpeal contributor · 9 months ago

I don't think that button is actually rendered by Codex. I'm not sure where it's coming from.

nos1609 · 9 months ago

@gpeal don't really want to argue there, but it's your VSCode extension there, so there aren't any other options where this icon comes from.
You can reproduce that with a clean env on linux or macOS same way it's done on Windows or WSL. The issue is still there and unresolved.

<img width="751" height="1068" alt="Image" src="https://github.com/user-attachments/assets/e23ecc1e-b721-4d09-a5ce-db5e7075b8b2" /><img width="705" height="1368" alt="Image" src="https://github.com/user-attachments/assets/82932542-93c3-4d42-840f-5923c4fc55d7" />

etraut-openai contributor · 9 months ago

@gpeal, the "Copy" element in the screenshot is a tooltip, not a button. It appears if you hover over the copy button.

The actual copy button is not distinguishable from its background. I confirmed this is the case with both dark and light themes. This appears to be a styling bug. I'm going to reopen.

<img width="177" height="109" alt="Image" src="https://github.com/user-attachments/assets/2aed3c0b-9bd0-4a90-bd75-72182555c429" />

<img width="584" height="41" alt="Image" src="https://github.com/user-attachments/assets/2fce44df-5c88-45c3-bfcc-644fead6c2bd" />

gpeal contributor · 9 months ago

@etraut-openai @nos1609 Thanks for the clarification, we'll take a look at this.

nos1609 · 9 months ago

Looks to me like fixed as of today on VSCode extension v0.4.38

PS
Added a new screen
<img width="978" height="1190" alt="Image" src="https://github.com/user-attachments/assets/00bffcd0-1f10-4630-8d8b-09b40e8bd70a" />