Bug 2413040 - gvim's status bar isn't visible when starting from console, always need to resize
Summary: gvim's status bar isn't visible when starting from console, always need to re...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-06 08:05 UTC by Eric Lavarde
Modified: 2026-03-10 18:30 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
Gvim without status line (36.73 KB, image/png)
2025-11-06 08:06 UTC, Eric Lavarde
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github vim vim issues 19631 0 None open gvim does not draw status line reliably on hidpi 2026-03-10 18:30:04 UTC

Description Eric Lavarde 2025-11-06 08:05:17 UTC
If I start gvim from a console the window appears without its last line, hiding the status line, and I need to resize the gvim window for them to appear.

Reproducible: Always

Steps to Reproduce:
1. start gvim from a console (terminator or ptyxis)
Actual Results:
Missing lines at the bottom of the window.

Expected Results:
Status line is visible.

Additional Information:
It seems to be related to my dual screen setup on my laptop: the problem seems to appear only if the terminal is on the internal screen, but not on the external one (gvim appears wherever it wants). The issue already appeared already a few months ago, but it really starts to annoy me.

Gnome, Wayland, vim-X11-9.1.1818-1.fc42.x86_64
Internal screen: 1920x1200 (scale 125%)
External screen: 3440x1440 (scale 100%)

Comment 1 Eric Lavarde 2025-11-06 08:06:17 UTC
Created attachment 2112913 [details]
Gvim without status line

Comment 2 Eric Lavarde 2025-11-06 08:07:06 UTC
Created attachment 2112914 [details]
Gvim with status line after resizing by one line

Comment 3 Zdenek Dohnal 2025-11-07 10:43:03 UTC
Hi Eric,

thank you for reporting the issue!

I was able to reproduce the issue with my internal laptop screen with different resolution (1920x1080), but with scale > 100%, so it looks to be connected more to scaling.

I'll see if I can find out upstream reproducer.

Comment 4 Zdenek Dohnal 2025-11-07 11:37:21 UTC
For now I can reproduce the issue with upstream code and current runtime files this way:

1. have laptop screen with display scaling > 100%
# GTK3 used for graphics on Gnome Wayland 
2. ./configure --datadir=/usr/share --with-features=Huge --enable-gui=yes && make && sudo make install
# open compiled Vim with graphics from terminal window at laptop screen with scaling > 100%
3.   ./src/vim -g -u NONE -U NONE -N -i NONE

I will check whether clean Vim project installation (upstream code, upstream runtime files) is affected as well.

Comment 5 Eric Lavarde 2025-11-13 08:43:06 UTC
Thanks for taking care. I noticed two new things which might help debugging:

1. the status bar disappears again if I move the GVim window between screens (direction doesn't matter, internal to external or vice-versa)
2. it also disappears if I make the window "stick" to the side or vertically maximize the window (middle mouse click on the maximize icon)
3. maximizing the window doesn't make it lose its status bar _but_ returning to normal size does

The two last points happen only on the external screen.

Comment 6 Petr Menšík 2026-01-13 18:57:15 UTC
I think I have the same problem. Have two monitors with resolution higher than Full HD, one Full HD monitor. Scaling set to 125%.

Comment 7 Petr Menšík 2026-01-13 19:39:48 UTC
Is this issue reported already at upstream github? I have not found it in https://github.com/vim/vim/issues, but perhaps I do not use correct keywords. Can Zdenek help with it? What is correct term for vim command line at the bottom, which is not rendered?

Comment 8 Petr Menšík 2026-01-13 20:05:30 UTC
My version: vim-X11-9.1.1999-1.fc43.x86_64

Comment 9 Petr Menšík 2026-03-10 18:30:05 UTC
Filled upstream issue for this: https://github.com/vim/vim/issues/19631


Note You need to log in before you can comment on or make changes to this bug.