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

Abierto
#63,505 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
electron, javascript, typescript
Área
desktop, frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
136k
Forks
21.5k
Merge medio
1 min
PR fusionados (30 d)
998

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openai/codex

Todos los issues de openai/codex

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.