Skip to content

gVim: Scrollbars not flush against the window edges when maximised #5602

Description

@JMcKiern

Describe the bug
The scrollbars are not flush against the window edges when the window is maximised.
This is true on the right and the bottom edges with the corresponding scrollbars enabled.

To Reproduce
Detailed steps to reproduce the behavior:

  1. Open gvim
  2. Type :set guioptions=r
  3. Maximise the window

Expected behavior
The window is fully maximised and the scrollbars are flush against the edges.

Screenshots
image
image
image

Environment:

  • Vim version 8.2
  • OS: Windows 10 17134
  • Terminal: GUI

Additional context

  • This is dependent on the DPI scaling chosen in Windows Settings. Using 100%, 150% and 175%, the bug is present. However, with 125% (which is recommended), the bug does not appear. Although, at 125%, moving the mouse to the very right edge of the screen and trying to select the scrollbar is unreliable - sometimes it works, sometimes it doesn't.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions