[Windows Desktop] Scrolling past long fenced code blocks jumps to bottom after generation finishes (26.1120.41243)
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
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ả
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
- Open Codex Desktop on Windows.
- Open a long existing conversation with several completed assistant responses containing long fenced code blocks.
- Wait for generation to finish.
- Scroll upward through older responses.
- Scroll past a long code block, particularly across the point where it enters or leaves the viewport.
- 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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openai/codex
-
bug CLI performance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
app bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows data plugin feedbackĐang mởapp bug skills windows-os
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
app-server bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openai/codex#63732 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug CLI TUI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
openai/codex#63725 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
qingjian-team/qingjian#1181 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug P2: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
leepokai/Codync#618 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
oxidecomputer/opte#1125 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug] StreamLifecycleConfig clamps post-TTFT stream timeouts to remaining admission budgetCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
lbjlaq/Antigravity-Manager#4063 ·
Maintainer thường phản hồi trong vòng 1 ngày