[Windows][Codex Desktop] Floating Copy Markdown button overlaps rendered content in local Markdown preview
What version of the Codex App are you using (From “About Codex” dialog)?
26.1118.11504
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64 Windows 11, x64
What issue are you seeing?
Environment
- Codex App version (About Codex):
26.1118.11504 - Windows MSIX package version (last verified):
26.1111.2228.0 - OS: Windows 11 x64, build 26200
Summary
In Codex Desktop on Windows, the floating "Copy Markdown" control in the right-side local Markdown file preview can overlap rendered document content.
The problem is not limited to H1 headings. Manual testing also reproduced text overlap in ordinary paragraphs.
Additional observations include a copy control positioned over the upper-right area of an embedded image and severe text wrapping in very narrow Markdown tables.
The behavior depends on the combination of content length and preview-pane width.
Actual behavior
When a rendered line approaches the right edge of the preview pane, the floating copy icon can cover the final characters.
The overlap is not strictly proportional to pane width:
- At some intermediate widths, the text and copy icon overlap.
- Widening the pane can eliminate the overlap.
- Narrowing the pane further can cause earlier text wrapping, which may also eliminate the overlap.
- At sufficiently narrow window sizes, the side preview may no longer be available in the same layout.
The issue was reproduced in isolated Markdown test files, including:
03-long-heading.md06-rich-content.md- Additional heading-length and paragraph fixtures
Visual evidence
Screenshot 1 — Full Codex Desktop preview context
The screenshot shows the affected local Markdown preview in the right-side pane.
Screenshot 2 — H1 heading overlap
The floating "Copy Markdown" icon obscures the final characters of the heading "Verification and documentation".
Screenshot 3 — Ordinary paragraph overlap
The copy icon also overlaps text near the end of a regular paragraph, demonstrating that the problem is not exclusive to H1 headings.
Screenshot 4 — Wide Markdown table
A wide Markdown table was tested at different preview widths.
At very narrow widths, cell contents wrap extensively into narrow columns. The copy control is also positioned near the rightmost header area.
This is included as an additional layout observation. I have not confirmed that the severe wrapping itself is a separate defect.
Screenshot 5 — Embedded image
The copy control appears over the upper-right area of an embedded Markdown image.
Whether this particular overlay is intentional is not confirmed.
Impact
The overlap makes the affected text harder to read and can obscure characters in the document preview.
The underlying Markdown files have not been observed to change. The reported issue concerns the preview presentation rather than file corruption.
What steps can reproduce the bug?
-
Open Codex Desktop on Windows.
-
Open a local Markdown file in the right-side file preview pane.
-
Use a file containing the following H1 heading:
# Verification and documentation -
Adjust the preview-pane width until the end of the rendered H1 approaches the right-side floating copy icon.
-
Observe that the icon can overlap the final characters of the heading.
-
Widen the preview pane. The overlap may disappear when sufficient horizontal space becomes available.
-
Narrow the pane again. At some widths the overlap reappears; narrowing it further may cause the text to wrap earlier and remove the overlap.
-
Repeat using a Markdown document containing a sufficiently long paragraph.
-
Move the pointer near the relevant content to observe the floating copy control when applicable.
Additional reproduction notes
The same H1 reproduced the issue in both a standalone Markdown file and a richer document containing tables, lists, and other Markdown elements.
Additional fixtures with slightly shorter and longer headings also demonstrated the relationship between text length and available horizontal space.
The exact pixel-width thresholds were not measured.
No specific repository, private document, or external service is required to reproduce the layout behavior.
A minimal local Markdown file is sufficient.
What is the expected behavior?
The local Markdown preview should display all document content without floating controls obscuring readable text.
The "Copy Markdown" control should remain accessible while avoiding overlap with headings, paragraphs, and other meaningful content.
When the available preview width changes, the layout should adapt by reserving sufficient space for the control, repositioning it, or using another non-obstructive arrangement.
Text wrapping, scrolling, and toolbar positioning should remain predictable across supported preview-pane widths.
The original Markdown content should remain unchanged.
Additional information
Manual test coverage
I created an isolated set of synthetic preview fixtures and manually tested multiple Markdown structures and additional local file types.
Observed results:
| Test category | Observation |
|---|---|
| Short H1 headings | No overlap observed |
| Medium-length H1 headings | No overlap observed in the initial tests |
| Longer H1 headings | Overlap reproduced at particular pane widths |
| Ordinary paragraphs | Overlap reproduced near the end of some lines |
| Unbroken long headings | Text wrapped; no identical overlap observed in the tested layout |
| Markdown tables | Extensive wrapping at very narrow widths; copy control near the rightmost header area |
| Markdown lists | No identical overlap observed |
| Fenced code blocks | No identical overlap observed |
| Embedded Markdown images | Copy control appears over the image's upper-right area |
| TXT files | Different preview presentation; no equivalent floating Markdown copy control observed |
| CSV files | Different preview presentation; no equivalent floating Markdown copy control observed |
| PDF files | A viewer-selection prompt appeared; actual PDF rendering was not evaluated |
The observations above are limited to the manually tested layouts. They do not establish that unaffected categories can never reproduce a similar issue.
Related issue
- #48823 — Table hover controls overlap and obscure table content.
That report concerns controls displayed over Markdown tables in a different UI surface.
This issue concerns the local Markdown file preview and overlaps affecting headings and paragraphs, with additional observations involving tables and images.
I have not confirmed whether the issues share an underlying cause.
Investigation limits
- Tests were performed manually.
- No exact pane-width measurements were collected.
- No application source code was modified.
- No internal CSS or layout implementation was inspected.
- No root cause has been established.
- No file corruption was observed.
The evidence suggests a content-width-dependent layout problem, but the internal mechanism remains unverified.
Follow-up — Issue persists on MSIX 26.1120.6357.0
I reproduced the floating "Copy Markdown" control overlap again after updating Codex Desktop to a newer Windows package.
Updated environment
- Platform: Windows 11 Version 25H2 (Build
26200.9974), x64 - Previously reported App version:
26.1118.11504 - Current App version:
26.1120.50957 - App release date: November 25, 2026
- Previously reported MSIX version:
26.1111.2228.0 - Currently installed MSIX version:
26.1120.6357.0 - Package status:
Ok - Latest version verification: November 27, 2026, 17:50:17 (UTC+08:00)
Both the application version displayed in the About dialog and the installed MSIX package version have now been verified.
New reproduction — Markdown list with inline code
During normal development work, I observed the floating "Copy Markdown" control overlapping an inline-code filename (main-commit.json) within a Markdown list item in a local README.md preview.
The screenshot below shows both the overlapping copy icon and its tooltip. The affected area is highlighted with a red rectangle.
Screenshot:
Additional findings
The original manual test coverage did not reproduce an identical overlap in Markdown lists.
This new observation demonstrates that:
- The issue persists after updating to a newer MSIX package.
- Markdown list items containing inline code can also be affected.
- The overlap is not limited to headings and ordinary paragraphs.
The new observation is consistent with the previously reported content-width-dependent layout issue.
The underlying layout cause has not yet been established.
Thank you for investigating.