Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command prompt kindof small #34

Closed
teto opened this issue Apr 26, 2019 · 11 comments
Closed

command prompt kindof small #34

teto opened this issue Apr 26, 2019 · 11 comments

Comments

@teto
Copy link
Contributor

teto commented Apr 26, 2019

any idea what could cause this ? https://transfer.sh/rEwDE/2019-04-26-140049_1399x948_scrot.png the prompt shows only half the height of the command ":qa"

@vhakulinen
Copy link
Owner

Did you type :qa manually? I've noticed some problems with the height of the command prompt on initial draw but never figured out what the problem was (something to do with gtk).

@teto
Copy link
Contributor Author

teto commented Apr 26, 2019

Yes I did. I noticed afterwards that it was not systematic and most of the times the size looked ok. so not a huge deal for now.

@smolck
Copy link
Contributor

smolck commented Jul 10, 2019

Is this a bug that should be fixed in GNvim, or is it a problem with GTK?

Also, @teto the link in your original comment is now broken (at least for me).

@vhakulinen
Copy link
Owner

Yes, this should be fixed in gnvim. It has something to do with getting the initial height for the cmdline. Similar problem exists with the cursor tooltip.

@Lythenas
Copy link

Lythenas commented Oct 1, 2019

For me this problem only exists the very first time the command prompt is opened. But it is not consistent sometime it works fine the first time too.

@vhakulinen
Copy link
Owner

For me this problem only exists the very first time the command prompt is opened. But it is not consistent sometime it works fine the first time too.

Same here.

@jaawerth
Copy link

jaawerth commented Jan 5, 2020

This may or may not be related, but I'm also noticing that changing the font size with guifont can cause rendering issues with the cmdline that can be reset by changing cmdheight around a bit. But different font-sizes can require adjusting cmdheight differently... at first I thought larger fonts just needed a larger cmdheight but it seems like it's a more complicated issue than that

@smolck
Copy link
Contributor

smolck commented Jan 5, 2020

@jaawerth What’s your pango version? Sounds like #85 to me.

@jaawerth
Copy link

jaawerth commented Jan 5, 2020

Ahh thanks, that looks more relevant. Apparently I went with the wrong issue ;-). I'm on pango 1.44.7-1 from the arch repos.

@smolck
Copy link
Contributor

smolck commented Jan 5, 2020

No problem ;) I thought I was on track to resolving those issues in #124, but turns out I was wrong. We’ll need a proper fix, probably by supporting subpixel positioning, but that’s outside of my limited understanding of both gtk and pango. Neovim-gtk managed to fix things with daa84/neovim-gtk@482d9c7 but I’m not sure (1) how that would apply to GNvim and (2) if that’s not masking the real problem like #124

@jaawerth If you can offer some insight or help into a fix for #85, even if you only help with debugging, please do. GNvim is unusable for me (and I suspect other Arch/Fedora users too) because of #85 and I’d really like to find and implement a fix.

@vhakulinen
Copy link
Owner

Gnvim was rewritten from ground up for gtk4. If the problem persists, feel free to reopen this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants