Skip to content

[✨ Triage] dotnet/aspire#11208 by davidfowl - Console logs on webfrontend resource scrolls too much #1424

@MihuBot

Description

@MihuBot

Triage for dotnet/aspire#11208.
Repo filter: area-dashboard issues.
MihuBot version: d83a1d.
Ping MihaZupan for any issues.

This is a test triage report generated by AI, aimed at helping the triage team quickly identify past issues/PRs that may be related.
Take any conclusions with a large grain of salt.

Tool logs
dotnet/aspire#11208: Console logs on webfrontend resource scrolls too much by davidfowl
[Tool] Searching for console logs scroll, webfrontend resource logs, log scrolling regression, console logs regression, logs scroll too much (IncludeOpen=True, IncludeClosed=True, IncludeIssues=True, IncludePullRequests=True, Repository=dotnet/aspire)
[Tool] Obtained 0 comments for issue #2553: Structured logs and traces pages scroll position when returning
[Tool] Obtained 9 comments for issue #6281: Bad experience when viewing console logs for a resource with a lot of logs
[Tool] Obtained 10 comments for issue #7969: Console logs not showing, plus browser window size affecting displayed logs
[Tool] Obtained 2 comments for issue #697: Structured logging and tracing scrolling broken
[Tool] Obtained 2 comments for issue #10740: Fix automatic scrolling to the bottom of main page content
[Tool] Obtained 28 comments for issue #4245: Improve summary details view / toolbars / navbar experience on desktop for low-vision users, as well as mobile users 
[Tool] Obtained 0 comments for issue #10883: Switch grid display mode to fix scrolling
[Tool] Obtained 1 comments for issue #10861: [release/9.4] Fix grid scrolling bugs
[Tool] Obtained 10 comments for issue #1582: Console logs page fails to display logs if the selected resource is starting
[Tool] Obtained 6 comments for issue #5909: Fix console logs after restart
[Tool] Obtained 8 comments for issue #10841: Traces Page jittering and jumping around while scrolling (in larger traces)
[Tool] Obtained 6 comments for issue #1806: Reduce hosting resource logging output
[Tool] Obtained 4 comments for issue #5776: Fix console logs page when linked from resource
[Tool] Obtained 1 comments for issue #2831: Reset scroll position when switching between pages
[Tool] Obtained 4 comments for issue #2509: Fix console logs page subscribing twice
[Tool] Obtained 2 comments for issue #10968: Aspire Dashboard: View multiple or all resource console logs at once
[Tool] Obtained 13 comments for issue #2508: Added support for custom resource logging
[Tool] Obtained 0 comments for issue #1678: Navigating to console logs while already viewing logs results in doubled logs
[Tool] Obtained 2 comments for issue #10271: Add option to console logs to wrap log lines
[Tool] Obtained 7 comments for issue #8331: Allow sorting by timestamp in structured logs and traces
[Tool] Obtained 7 comments for issue #6978: Logs UI Glitching
[Tool] Obtained 2 comments for issue #8831: Console logs friendly url regression
[Tool] Obtained 0 comments for issue #10012: Improve console logs error handling
[Tool] Obtained 2 comments for issue #5908: Wait for and resource health logging isn't visible
[Tool] Obtained 0 comments for issue #2749: Fix console logs JS error
[Tool] Obtained 2 comments for issue #5846: Improve logging on console logs page for test debugging
[Tool] Obtained 0 comments for issue #7196: Only reset details scroll position if the viewed item changes
[Tool] Obtained 0 comments for issue #7040: Reset details scroll position
[Tool] Obtained 3 comments for issue #8145: Add ability to view resource details on Console Logs
[Tool] Obtained 0 comments for issue #1850: Longer term solution for linking to logs from resource page
[Tool] Obtained 0 comments for issue #2460: Refreshing or opening console logs in a new tab loses selected resource
[Tool] Obtained 1 comments for issue #11087: Tweak displaying (All) console logs content
[Tool] Obtained 13 comments for issue #5357: Fix console logs content changing order and the line number increasing
[Tool] Obtained 0 comments for issue #5703: Refactor console logs page and friends
[Tool] Obtained 3 comments for issue #1685: Clear logs on console logs parameters change
[Tool] Obtained 8 comments for issue #9952: Mitchdenny/run-apphost-logs
[Tool] Obtained 2 comments for issue #3776: Make console log page usable on low-res/high-zoom
[Tool] Obtained 8 comments for issue #7859: [WebToolsE2E][Aspire] After successfully publishing an Aspire project, the Console log does not have any logs after restarting the project in the 'Aspire Dashboard'.
[Tool] Obtained 4 comments for issue #5074: Console Logs incorrectly interleave stderr and stdout
[Tool] Obtained 4 comments for issue #6626: Run Resource Commands from Console Logs Page
[Tool] Found 72 issues, 174 comments, 40 returned results (16264 ms)

Here are related issues and discussions for issue #11208 ("Console logs on webfrontend resource scrolls too much"):


Highly Relevant Issues and PRs

Issue #7969 (March 2025) - Console logs not showing, plus browser window size affecting displayed logs

  • Summary: Reports multiple console log UI problems, including missing logs, logs not refreshing, and incorrect/exaggerated scroll size/space. The issue is sensitive to browser window height and appears/disappears unpredictably. There is mention of excessive empty space after the last log entry, which may relate to "scrolls too much."
  • Discussion: Several users confirm the issue, and it is noted that Aspire 9.4 added an option to not wrap log lines, which can help. However, even with wrapping off, some users still see disappearing logs and excessive scroll space. The problem is present across widgets that use virtual scrolling.
  • Recent Comments: Video evidence requested; ongoing investigation.

PR #10740 (July 2025) - Fix automatic scrolling to the bottom of main page content

  • Summary: Addresses broken scrolling behavior in structured logs and traces, including scroll bar jumping and automatic scrolling. Improves overscan and fixes flag handling for scrolling.
  • Discussion: Video feedback suggests some issues remain, but author believes structured logs are correctly scrolled to the bottom.

PR #10861 (August 2025) - [release/9.4] Fix grid scrolling bugs

  • Summary: Backport of #10740. Fixes grid scrolling races and erratic mouse wheel behavior in large grids, which could cause excessive or broken scrolling. Increases overscan for virtualized grids to improve user experience.
  • Discussion: Approved as a low-risk regression fix for 9.4.1.

PR #10883 (August 2025) - Switch grid display mode to fix scrolling

  • Summary: Refactors grid display to table mode, updates column sizing, and reduces overscan to improve performance. Notes some remaining issues with FluentUI, but aims to address scrolling problems.

Issue #6978 (December 2024) - Logs UI Glitching

  • Summary: Reports logs UI glitching when scrolling, with text vanishing and reappearing. Occurs in Firefox and Chrome. While not exactly "scrolls too much," it is related to erratic scroll behavior.
  • Discussion: Some users report the issue resolves itself after tweaks; others confirm ongoing problems.

PR #3776 (April 2024) - Make console log page usable on low-res/high-zoom

  • Summary: Attempts to improve console log page usability for low-res/high-zoom users. Reviewer notes that the change breaks scrolling, causing the header to scroll with the content (not desired).
  • Discussion: Suggests further testing and CSS tweaks to avoid breaking regular usage.

PR #4245 (May 2024) - Improve summary details view / toolbars / navbar experience on desktop for low-vision users, as well as mobile users

  • Summary: Refactors page layout for accessibility, including scrollable content at low page heights. Multiple comments discuss scroll bar visibility, excessive padding/margin, and unnecessary scrollbars—issues that could cause "scrolls too much."
  • Discussion: Some scroll issues are acknowledged as Blazor limitations. Fixes for console logs updating after layout are mentioned. Line number bugs are discussed, but not directly related to scrolling.

Issue #2553 (March 2024) - Structured logs and traces pages scroll position when returning

  • Summary: Structured logs and traces pages sometimes reset scroll position to the top when navigating back, rather than staying at the bottom. Fixed by PR #2831.

Issue #6281 (October 2024) - Bad experience when viewing console logs for a resource with a lot of logs

  • Summary: UI freezes and behaves badly when loading large amounts of logs, due to streaming from oldest to newest. Discussion includes suggestions for limiting log history and improving loading direction. Not directly about excessive scrolling, but related to log rendering performance.

PR #10271 (July 2025) - Add option to console logs to wrap log lines

  • Summary: Adds an option to disable line wrapping, which can help with scrolling issues when log lines have unequal heights.

Conclusions

  • Regression from 9.4: Multiple issues and PRs confirm that scrolling behavior in console logs and related pages has been a source of regressions, especially around Aspire 9.4 and later. Several fixes have been merged, but some users still report problems with excessive or erratic scrolling.
  • Virtualization and Overscan: The root cause often relates to the use of virtualized grids and overscan settings. Increasing overscan improves scrolling but may not fully resolve all edge cases.
  • Browser/Viewport Sensitivity: Problems are sometimes sensitive to browser window size, zoom level, and switching between desktop/mobile views.
  • Ongoing Investigation: The team is aware of these issues and continues to refine scrolling logic, with several fixes already shipped and more planned.

Most Relevant Issues/PRs for Reference


Summary:
The issue you reported is part of a broader set of regressions and ongoing fixes related to console log scrolling, especially after Aspire 9.4. There are multiple related issues and PRs, with improvements in overscan, grid virtualization, and options for line wrapping. However, some edge cases remain, and further fixes are planned. If your scenario is not resolved by the latest updates (9.4.1+), it may help to provide additional details or video evidence, as requested in similar issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions