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

オープン
#63,505 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
electron, javascript, typescript
領域
desktop, frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
136k
フォーク
21.5k
平均マージ
1分
マージ済み PR(30日)
998

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openai/codex のほかの issue

openai/codex の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。