← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2120181] Re: gvim glitches when maximized vertically and resized horizontally

 

Could reproduce on a clean VM. I'd guess this has to do with vim trying
to size itself in characters instead of pixels and fighting with the
window manager.

** Tags added: dcr-freezer

** Changed in: vim (Ubuntu)
       Status: New => Triaged

** Changed in: vim (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/2120181

Title:
  gvim glitches when maximized vertically and resized horizontally

Status in vim package in Ubuntu:
  Triaged

Bug description:
  This used to work in jammy, but is broken since I upgraded (actually,
  reinstalled) to noble.

  System info:

  Ubuntu 24.04.3 LTS
  Default GNOME desktop
  vim-gtk3 2:9.1.0016-1ubuntu7.8
  nvidia-driver-550

  Steps to reproduce:

    * in Settings / Keyboard / Keyboard Shortcuts / Windows, define a
      shortcut for “Maximize window vertically” (I use Super+Up)

    * launch gvim from a terminal

    * maximize gvim's window vertically using the previously defined
      shortcut

    * with the mouse, grab a vertical edge of the window and try to
      manually resize it horizontally

  Expected behavior:

  The window can be resized, just like any other window.

  What happens instead:

  While the left mouse button is held down, the window is completely
  maximized. There is a small rounded overlay that presumably shows the
  current window size (like when resizing a terminal). This overlay jumps
  around very fast, left to right, which makes it illegible. When the
  mouse button is released, gvim's window settles to a width that is
  seemingly random, but always larger than what the mouse position
  implies. Repeating the operation gives a different width.

  Work around:

    * do not maximize the window vertically
    * alternatively: resize by typing “set columns=...”

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/2120181/+subscriptions



References