[Windows Desktop] Scrolling past long fenced code blocks jumps to bottom after generation finishes (26.1120.41243)

Aperta
#63,505 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
electron, javascript, typescript
Ambito
desktop, frontend

Direzione di ricerca

The report has no minimal reproduction and the frontend source is not in this repository's Rust codebase, so start by reproducing with a long conversation containing large fenced code blocks and watching scrollTop around the block's viewport edges. Look at the virtualized transcript and ResizeObserver height measurement code the report mentions, and check the related issue #17169. Done means the reading position stays stable through completed code blocks without the ResizeObserver loop error appearing.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

app bug windows-os
Environment
  • Product: Codex Desktop on Windows; local Codex conversation.
  • Current app version: 26.1120.41243, read from the installed app package metadata.
  • Current Windows MSIX package: OpenAI.Codex 26.1120.5083.0.
  • Also reproduced before the update on app 26.1117.41037, MSIX package 26.1117.4957.0.
  • OS: Windows 11 Home, version 10.0.26300, build 26300, 64-bit.
  • Subscription tier: not collected.
What issue are you seeing?

In an existing long conversation containing completed assistant responses with long fenced Markdown code blocks (complete C++ programs), scrolling upward to read older messages unexpectedly sends the entire conversation viewport back to the bottom.

The reporter narrowed the trigger to scrolling past a long code block, especially as it enters or leaves the visible area. This is not reported as merely scrolling inside a nested code pane.

The issue still occurs after the assistant has completely finished responding, with no new messages arriving. The reporter manually retested after the app updated/restarted and confirmed the same behavior on 26.1120.41243.

This makes reading previous code and explanations difficult because the reading position is repeatedly lost.

Steps to reproduce
  1. Open Codex Desktop on Windows.
  2. Open a long existing conversation with several completed assistant responses containing long fenced code blocks.
  3. Wait for generation to finish.
  4. Scroll upward through older responses.
  5. Scroll past a long code block, particularly across the point where it enters or leaves the viewport.
  6. Observe the conversation unexpectedly jump back to the latest messages at the bottom.

These steps were reported and manually retested by the user on the affected conversation. A minimal synthetic reproduction, exact block-length threshold, and screen recording have not been captured.

Expected behavior

Keep the user's reading position stable while scrolling through completed responses and code blocks. Re-measuring message heights or changing the rendered range should preserve the visible passage.

Actual behavior

The whole conversation jumps to the bottom while the user is reading older content. It happens with completed responses and persists after an app update/restart.

Diagnostic evidence

Read-only inspection of local application logs found repeated renderer errors:

ResizeObserver loop completed with undelivered notifications.

An initial check of the newly started, post-update session found 19 occurrences. Examples below retain the timestamps and message, with unrelated metadata omitted:

  • 2026-11-24T02:41:18.667Z error [electron-message-handler] [desktop-notifications][global-error] ResizeObserver loop completed with undelivered notifications.
  • 2026-11-24T02:41:19.632Z error [electron-message-handler] [desktop-notifications][global-error] ResizeObserver loop completed with undelivered notifications.

The pre-update session also logged hundreds of the same error. These errors are a correlated diagnostic clue, not proof of the cause; no per-jump scroll-position trace or responsible callback stack was captured.

Static, read-only inspection of the installed frontend also identified virtualized transcript rendering, message-height measurement with ResizeObserver, and reading-position restoration. The interaction between long-code-block layout changes and scroll-anchor preservation is a suspected investigation area, not an established root cause. No application files or settings were modified.

Related report
  • #17169 describes long-conversation scroll-anchor jumps on an older macOS app version. This report adds a Windows reproduction on current builds and the more specific long-fenced-code-block viewport-boundary trigger. A shared root cause is unconfirmed.
Privacy

Only environment details, reproduction steps, and sanitized error excerpts are included. No conversation transcript, private code, user or conversation identifiers, credentials, local filesystem paths, or full logs are attached. The user explicitly requested that this bug be reported.

Lingua principale
Rust
Stelle
136k
Fork
21.5k
Merge medio
1m
PR unite (30g)
998

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openai/codex

Tutte le issue di openai/codex

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.