Bug 2413040

Summary: gvim's status bar isn't visible when starting from console, always need to resize
Product: [Fedora] Fedora Reporter: Eric Lavarde <elavarde>
Component: vimAssignee: Zdenek Dohnal <zdohnal>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: carl, fhrdina, pemensik, zdohnal
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Gvim without status line none

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