Public bug reported:

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=...”

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "output of ‘apport-cli --save gvim.apport vim-gtk3’"
   
https://bugs.launchpad.net/bugs/2120181/+attachment/5897600/+files/gvim.apport

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

Title:
  gvim glitches when maximized vertically and resized horizontally

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to