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

Đang mở
#63,505 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
22/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
electron, javascript, typescript
Lĩnh vực
desktop, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
136k
Fork
21.6k
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
998

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openai/codex

Tất cả issue của openai/codex

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.