[vim/vim] GTK4: 'lines' and 'columns' are not limited to the screen size (Issue #21041)

0 views
Skip to first unread message

h_east

unread,
12:29 PM (2 hours ago) 12:29 PM
to vim/vim, Subscribed
h-east created an issue (vim/vim#21041)

Steps to reproduce

$ vim --clean -g +"set ls=2"
:set lines=999

--> At the very least, the status line and command line are off-screen.

Expected behaviour

'lines' and 'columns' are reduced so that the window still fits on the screen.

On my screen 38 lines and 182 columns fit, but Vim ends up with 46 lines and
190 columns, and the window is larger than the screen.

The GTK3 GUI limits the window to the screen size as expected.

Version of Vim

9.2.0954

Environment

Ubuntu 24.04

Vim's configure

./configure --with-wayland --enable-gui=gtk4 --enable-python3interp --enable-canberra --enable-fail-if-missing

Logs and stack traces


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/21041@github.com>

Reply all
Reply to author
Forward
0 new messages