Skip to content

GTK4 font increase makes lower window contents invisible, including command line #20264

@habamax

Description

@habamax

Steps to reproduce

  1. gvim --clean
  2. :set gfn=Monospace\ 20
  3. type any ex command, e.g. :q -- it is outside of the window and you can't see it.
Image

If you change window size with a mouse, it appears (with glitches):

Image Image

Additionally, if you do the opposite, decrease font size:

Image

There is a dead area and a command line is way off the bottom.

Expected behaviour

Same as gtk3 -- increasing or decreasing font size should put contents within window view.

Version of Vim

9.2.502

Environment

debian13, kde, gvim with gtk4

Logs and stack traces

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions