Repository navigation
Description
System details
RStudio Edition : Desktop
RStudio Version : 2026.08.0-daily+139 (also reproduced on source builds of main @ 662be27)
OS Version : Windows Server 2025 x64, Fedora 43 and 44 x86_64, and Rocky Linux 10 arm64
R Version : 4.6.1
Steps to reproduce the problem
In RStudio Desktop on Windows, Fedora, or Rocky Linux 10:
-
In the Console, create a data frame tall enough to scroll vertically and wide enough to need a horizontal scrollbar, then view it:
df <- as.data.frame(matrix(seq_len(500 * 30), nrow = 500)); View(df) -
Click a cell in the first data row of the Data Viewer.
-
Press Ctrl-End.
- The active cell moves to the last row (row 500) of the same column, and the grid does not scroll horizontally. Both are correct.
- The last row is not fully visible. Its bottom is cut off below the bottom edge of the viewport by roughly the height of one row.
-
Scroll down slightly by hand with the mouse wheel.
- The last row becomes fully visible, so the grid had further to scroll but stopped early.
Describe the problem in detail
Pressing Ctrl+End in the Data Viewer moves to the correct cell but leaves the last row partly hidden below the bottom edge, so the user has to scroll a bit further by hand to actually see it. The shortfall is about 23px.
Results for the E2E test covering this, all from one scheduled full-matrix run:
| Platform | Arch | Result |
|---|---|---|
| Windows Server 2025 | x64 | fails |
| Fedora 43 | x86_64 | fails |
| Fedora 44 | x86_64 | fails |
| Rocky Linux 10 | arm64 | fails |
| Rocky Linux 9 | x86_64 | passes |
| Ubuntu 22 | x86_64 | passes |
| Ubuntu 24 | x86_64 | passes |
| Ubuntu 26 | x86_64 | passes |
| Debian 13 | arm64 | passes |
| macOS 26 | arm64 | passes |
Rocky Linux 9 and Rocky Linux 10 are the closest comparison, since those two test engines are built the same way and use the same display stack, but only Rocky Linux 10 shows the problem. The results do not line up with architecture, since Fedora fails on x86_64 while Ubuntu passes on x86_64, and Rocky Linux 10 fails on arm64 while Debian 13 passes on arm64.
This is the part of #17958 that reads "you need to manually scroll down a bit more to get to true bottom." PR #17961 closed that issue and fixed the End/Ctrl+End destination, but this issue is still present. Its E2E test (data_viewer.test.ts, "End scrolls to the last row of the current column, fully visible") is marked test.fixme on Windows CI, so the failure is skipped there rather than reported. The test has no such guard on Linux, which is why it surfaces on Fedora and Rocky Linux 10.
Possibly related: #18221, which covers a different scrolling problem in the same virtualized grid viewport on Windows.
Describe the behavior you expected
After pressing Ctrl+End, the last row would be fully visible without any further scrolling.
Compare: Ubuntu, Debian 13, Rocky Linux 9, and macOS 26, where the last row is fully visible.
Activity
[-]Data Viewer stops short of the last row on Ctrl+End on Windows and Rocky Linux[/-][+]Data Viewer stops short of the last row on Ctrl+End on Windows and RHEL-family Linux[/+]pin data viewer cell line-height so rows render at ROW_HEIGHT everywh…