[vim/vim] vim-gtk3 Ubuntu 25.10 freezes when alt-tab from insert mode (Issue #18772)

11 views
Skip to first unread message

nanotek163

unread,
Nov 18, 2025, 7:45:46 PM11/18/25
to vim/vim, Subscribed
nanotek163 created an issue (vim/vim#18772)

Steps to reproduce

New build of Ubuntu 25.10 desktop
sudo apt update
sudo apt upgrade
sudo apt install vim-gtk3
gvim
-> insert mode
-> alt + tab
Go back to gvim window, and insert is frozen. Have to forcefully kill gvim from 'top'.

Dropdowns at top will show dropdowns when clicked, but is largely useless as nothing that modifies the text will work. Things that create new guis (Edit -> Select font) will open the gui, but does not update with interaction. Scrolling doesn't show anything visible or single clicking, but if you scroll and then double click then go back to fonts it will be a font that is either higher up or lower. You can also click the 'cancel' to close and 'select' to close, but no visual indicators like it changing colors. So it seems the gui is being updated 'under the hood', but not visually for the child GUIs. The insert mode aspect does not see this same behavior as it seems completely frozen

'vim' seems to be working fine without this issue of freezing when alt-tabbing

Expected behaviour

Expected to not freeze

Version of Vim

gvim vim-gtk3, ubuntu VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Sep 15 2025 16:38:04) Included patches: 1-948, 950-967

Environment

Ubuntu 25.10
vim-gtk3
$TERM: xterm-256color
$SHELL: /bin/bash - GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)

Logs and stack traces

gvim --version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Sep 15 2025 16:38:04)
Included patches: 1-948, 950-967
Modified by team...@tracker.debian.org
Compiled by team...@tracker.debian.org
Huge version with GTK3 GUI.  Features included (+) or not (-):
+acl               +file_in_path      +mouse_urxvt       -tag_any_white
+arabic            +find_in_path      +mouse_xterm       +tcl
+autocmd           +float             +multi_byte        +termguicolors
+autochdir         +folding           +multi_lang        +terminal
-autoservername    -footer            -mzscheme          +terminfo
+balloon_eval      +fork()            +netbeans_intg     +termresponse
+balloon_eval_term +gettext           +num64             +textobjects
+browse            -hangul_input      +packages          +textprop
++builtin_terms    +iconv             +path_extra        +timers
+byte_offset       +insert_expand     +perl              +title
+channel           +ipv6              +persistent_undo   +toolbar
+cindent           +job               +popupwin          +user_commands
+clientserver      +jumplist          +postscript        +vartabs
+clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +vim9script
+cmdline_hist      +langmap           -python            +viminfo
+cmdline_info      +libcall           +python3           +virtualedit
+comments          +linebreak         +quickfix          +visual
+conceal           +lispindent        +reltime           +visualextra
+cryptv            +listcmds          +rightleft         +vreplace
+cscope            +localmap          +ruby              +wildignore
+cursorbind        +lua               +scrollbind        +wildmenu
+cursorshape       +menu              +signs             +windows
+dialog_con_gui    +mksession         +smartindent       +writebackup
+diff              +modify_fname      +sodium            +X11
+digraphs          +mouse             +sound             +xattr
+dnd               +mouseshape        +spell             -xfontset
-ebcdic            +mouse_dec         +startuptime       +xim
+emacs_tags        +mouse_gpm         +statusline        -xpm
+eval              -mouse_jsbterm     -sun_workshop      +xsmp_interact
+ex_extra          +mouse_netterm     +syntax            +xterm_clipboard
+extra_search      +mouse_sgr         +tag_binary        -xterm_save
-farsi             -mouse_sysmouse    -tag_old_static    
   system vimrc file: "/etc/vim/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
 3rd user vimrc file: "~/.config/vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "/etc/vim/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
3rd user gvimrc file: "~/.config/vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -Wdate-time -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/build/vim-QI64Ng/vim-9.1.0967=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/build/vim-QI64Ng/vim-9.1.0967=/usr/src/vim-2:9.1.0967-1ubuntu6 -DSYS_VIMRC_FILE=\"/etc/vim/vimrc\" -DSYS_GVIMRC_FILE=\"/etc/vim/gvimrc\" -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 
Linking: gcc -Wl,-E -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lselinux -lcanberra -lsodium -lacl -lattr -lgpm -L/usr/lib -llua5.1 -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.40/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python3.13/config-3.13-x86_64-linux-gnu -lpython3.13 -ldl -lm -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz -lpthread -lm -lruby-3.3 -lm -lpthread -L/usr/lib


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18772@github.com>

nanotek163

unread,
Nov 18, 2025, 8:27:11 PM11/18/25
to vim/vim, Subscribed
nanotek163 left a comment (vim/vim#18772)

This may have been resolved with

sudo apt install xorg

I then needed to close all instances of gvim and vim that were running.

However, while debugging I tried installing a number of other things as suggested by the vim INSTALL doc before I got to a resolution.

sudo apt install clang
sudo apt install libtool-bin
sudo apt install libxt-dev
sudo apt install libgtk-3-dev
sudo apt install libpython3-dev
sudo apt install gcc
sudo apt install gpp
sudo apt install ncurses-dev

From my minimal research it seems this is triggered by ubuntu dropping xorg (/x11?) in favor of wayland

I'm not that familiar with xorg/x11 or vim development, but if having xorg as a dependency for vim-gtk3 is a valid option I might recommend that.

It looks like gvim has merged something that natively supports wayland without xwayland back in Jan 30 v9.1.0064 so my version should in theory have that, but still seeing issue.

Not sure what the vim communities preference would be for how to handle this


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18772/3550152704@github.com>

Christian Brabandt

unread,
Nov 19, 2025, 3:09:35 AM11/19/25
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18772)

Can you please very using latest master + using vim --clean -g?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18772/3551331812@github.com>

Andy Footner

unread,
Dec 15, 2025, 10:21:38 AM12/15/25
to vim/vim, Subscribed
lazysoundsystem left a comment (vim/vim#18772)

I tried adding all the packages in #18772 (comment) and using vim --clean -g with the latest version in the repos, but vim windows are freezing after a few minutes, seemingly independent of any interactions.

I updated to ubuntu 25.10 yesterday.

I'll try uninstalling the version from the repos and building the latest from source.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18772/3656219542@github.com>

dezza

unread,
Jun 17, 2026, 6:14:42 PM (7 hours ago) Jun 17
to vim/vim, Subscribed
dezza left a comment (vim/vim#18772)

I had some issues when resizing x11-gvim on kde-plasma (wayland) - it resized in a loop, like it wasn't aware of dimensions.

It might be fixed by 9.2.0334, haven't tried since.

It seems thats this is different from DE to DE, friends I asked to try could not reproduce on true xorg-server, so might even be xwayland bug combined with certain DE.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18772/4736001656@github.com>

Reply all
Reply to author
Forward
0 new messages