Repository navigation
backport console error and data viewer fixes to rel-pacific-dogwood - #18233
Merged
kevinushey merged 4 commits intoJul 15, 2026
Merged
Conversation
The grid body and pinned pane are virtualized: scrolling replaces the rendered row window and resizes the top spacer row. With scroll anchoring enabled, Chromium adjusts scrollTop to compensate for that content shift, undoing the user's scroll. Most visible on Windows, where discrete mouse-wheel ticks are driven through Chromium's smooth-scroll animation, so wheel scrolling over the table body got stuck. Same fix the summary sidebar received in #17977. Addresses #18221
While the data viewer tab is hidden its iframe has no layout: the grid viewport reads clientWidth/clientHeight/scrollTop/scrollLeft as 0. Grid code running in that state could corrupt live state in ways the next tab activation never healed: - computeColumnWindow collapsed the virtualized column window to a single edge column (the zero-width fallback), and window.onActivate rebuilt rows against the stale window without recomputing it -- the same class of gap #18090 closed for onResize. - onScroll/onScrollEnd/onDeactivate folded the zeroed scroll reads into the lastScrollTop/Left mirrors, discarding the saved position. - window.onActivate itself can run before the tab widget is shown (SourceColumn.onActivate activates the target before selecting its tab), with the same effects. Guard all of these against a collapsed viewport: computeColumnWindow and the scroll mirrors now ignore zero-geometry reads, and onActivate defers itself to the next animation frame until layout exists, then re-derives the column window from live geometry before re-rendering. The new e2e tests fail without these changes: replaying a scroll tail or an early onActivate into the hidden iframe loses the scroll position and leaves the grid rendered at the wrong window on return. Addresses #18215.
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
RStudio E2E - all platforms1 test(s) failed
View / download the full reportView report online -- opens in the browser, no download needed. Available for 14 days. Download playwright-report.zip -- extract and open
All platforms - commit |
gtritchie
added a commit
that referenced
this pull request
Jul 29, 2026
* Remove 2026.08 NEWS entries already shipped in 2026.07.1 The Data Viewer fixes for #18215 and #18221 were backported to rel-pacific-dogwood in #18233 and are published in the 2026.07.1 release notes, so listing them again under 2026.08 duplicates them across releases. * Correct Yellow Yarrow release notes and What's New coverage Add the Check for Posit Assistant updates command (#18253) to the What's New page; it was the only user-visible new command this release missing from that list. Both the alias (#18158) and .lnk shortcut (#18274) changes also taught the File and Folder Open dialogs to resolve link targets, and the Files pane badges Windows shortcuts alongside symlinks and Finder aliases, so say so in NEWS.md and on the What's New page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports the following fixes from main to
rel-pacific-dogwoodfor the next 2026.07.x patch release:.rs.exprMutatesPackageLibrary(part): argument "part" is missing, with no defaultconsole error in 2026.07.0. Fixes.rs.exprMutatesPackageLibraryerrors after evaluating a[subset with an empty argument followed by a non-empty one (e.g.mtcars[, 1:3]) #18230.Notes:
packagestestthat suite passes against the backported sources (86 passing, 0 failures), including the new empty-argument regression tests.