Neovide: Resize issue using it with i3

Created on 26 Mar 2020  路  7Comments  路  Source: Kethku/neovide

Hello there, I couldnt find anything related. While using this software in Linux with i3 (tiling window manager), when I first open Neovide, it shows things one size, if I resize the windows or send them to another monitor, the font will either be too big or too small.

The first image is when I open and it shows the font size correctly, the second is when I send to another monitor and back

https://imgur.com/HxYMNLG.png
https://imgur.com/mBzeIPC.png

bug

Most helpful comment

This is being worked on here: https://github.com/Kethku/neovide/pull/222 as it is at least partially an upstream issue. Once we are back to working on master, we should be able to be more principled about how we deal with dpi scaling problems. Progress is being made, sorry for the delay

All 7 comments

I have the same issue, also happen with alacritty
EDIT: but doesn't happen with other term like termite

Interesting, I didnt think it the terminal counted for something, I thought this app ran in a different window than the terminal, I'll try it later

Edit: Here it happens no matter the terminal, I dont think the terminal is the issue

No, this app doesn't run on the terminal but I experience the same issue with an other app that appear to be a terminal, alacritty. It is also written in rust so I though it was worth mention it.

If you have the hardware try wayland / sway. It usually handles those cases better than X.

Yes this strikes me as related to the dpi scaling issues. I think the correct long term fix is to bring back the winit windowing system and add a compile time feature which can decide which window to use. This will take some time to build though.

I hope one day to switch back to winit as I believe their long term design is better and it definitely handles dpi scaling way better, but until then I'm stuck with sdl2

This is being worked on here: https://github.com/Kethku/neovide/pull/222 as it is at least partially an upstream issue. Once we are back to working on master, we should be able to be more principled about how we deal with dpi scaling problems. Progress is being made, sorry for the delay

Using the latest master, it working better now, thank you very much

Was this page helpful?
0 / 5 - 0 ratings

Related issues

deisi picture deisi  路  28Comments

IBS27 picture IBS27  路  29Comments

SirJson picture SirJson  路  22Comments

wbthomason picture wbthomason  路  35Comments

harish2222 picture harish2222  路  31Comments