Skip to content

size of hidden bottom scrollbar is not reclaimed in window size calculations #948

Closed
@masukomi

Description

@masukomi

Describe the bug
When the bottom scrollbar is toggled off. It is not possible to make a window that is as tall as the available screen real estate. You can't drag (expand) the bottom edge of the window to the bottom of the screen. If you drag the whole window down such that the bottom edge is aligned with the bottom of the screen you can't drag the top edge to expand to meet the top of the screen. The same applies to corners. It appears as if MacVim is still counting the pixels required for the scrollbar that has been hidden.

To Reproduce
Toggle the visibility of the bottom scrollbar such that it does not appear. Attempt to drag the window to meet the bottom edge of the screen. Alternately, use a window manager or anything else that can resize windows (Moom, Amethyst, etc)

Expected behavior
The window should be expandable to the full height of the screen (not counting the macOS Menu bar)

Screenshots

macvim_bottom_scrollbar_bug

Environment (please complete the following information):

MacVim about says: Custom Version 8.1.1722 (157)
macOS: 10.14.6 (18G95)

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIIssues related to UI elements, tabs, scrollbars, window resizing, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions