Skip to content

Scrollbar redraw issue on resize with snapshot-154 #848

Closed

Description

@jmknoble

After upgrading from snapshot-153 (Vim-8.1.577) to snapshot-154 (Vim-8.1.873), an issue with scrollbar rendering has appeared when resizing a MacVim window to make it larger.

This seems to be related to #802, but the trigger is different.

  • Mac OS X 10.11.6 (15G22010)
  • MacBook Pro (Retina, 13-inch, Early 2015)
  • External DisplayPort monitor (27-inch (2560 x 1440))

If resizing by mouse, dragging the right edge of the MacVim window to the right (bigger) leaves a ghosted scrollbar near the right edge; this happens whether the window contains a new, empty buffer or a buffer with text larger than the window, and it happens regardless of whether I drag fast or slow.

If I use SizeUp or Spectacle to resize to the left or right half of the display via a hotkey, the behavior is more pronounced -- the ghost scrollbar appears where it was before the resize, and only as tall as it was before the resize.

In both cases, redrawing the window via Control+L makes the ghosted scrollbar disappear.

Activity

  1. jmknoble commented on Feb 6, 2019

    @jmknoble
    Author

    Before resizing via SizeUp or Spectacle:

    screenshot_922

    After resizing via SizeUp or Spectacle:

    screenshot_923

  2. jmknoble commented on Feb 6, 2019

    @jmknoble
    Author

    MacVim => Preferences => Advanced:

    screenshot_927

  3. ychin commented on Feb 6, 2019

    @ychin
    Member

    That’s odd. Snapshot 154 contains #827 which fixed existing scroll bar issues but maybe it didn’t fix everything. I will take a look.

  4. added this to the snapshot-155 milestone on Feb 7, 2019
  5. ychin commented on Feb 7, 2019

    @ychin
    Member

    This should be fixed in snapshot 155, which is scheduled to be released soon to fix some regressions. The issue currently only shows up in pre-Mojave CoreText renderers, which is why I didn't catch it.

  6. added a commit that references this issue on Feb 18, 2019
    ec0c14e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions