Skip to content

Data Viewer stops short of the last row on Ctrl+End on Windows and RHEL-family Linux #18378

Closed

Description

@ronblum

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:

  1. 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)
    
  2. Click a cell in the first data row of the Data Viewer.

  3. 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.
  4. 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.

See issue #17958 and PR #17961.

Activity

  1. self-assigned this
    on Jul 28, 2026
  2. added
    new
    on Jul 28, 2026
  3. changed the title [-]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[/+] on Jul 28, 2026
  4. added theissue type on Jul 28, 2026
  5. self-assigned this
    on Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugdata viewernew

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions