You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When moving the window between two screens with different DPI scaling, the font size doesn't re-scale accordingly.
As a workaround, resizing the window afterwards forces a re-layout.
To Reproduce
Steps to reproduce the behavior:
Open Neovide
Move it to a display with different DPI scaling
Expected behavior
The font size should re-adjust and the window should re-draw.
Screenshots
Higher DPI scale -> Lower DPI scale:
Lower DPI scale -> Higher DPI scale:
Desktop (please complete the following information):
fredizzimo
changed the title
Windows: Moving window between displays with different UI scaling doesn't cause a re-layout
Moving window between displays with different UI scaling doesn't cause a re-layout
May 13, 2024
It looks like Neovide reacts to scale factor changes at least on Linux Wayland. I don't have a dual monitor setup right now, so I just changed the system settings.
It's still possible that other platforms are broken, or that only moving the window to another screen works differently than the global winit scale factor event for the Window.
If you could test if it reacts to setting the scale factor from the system settings it would be good, because then there's one thing less for me to test.
Describe the bug
When moving the window between two screens with different DPI scaling, the font size doesn't re-scale accordingly.
As a workaround, resizing the window afterwards forces a re-layout.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The font size should re-adjust and the window should re-draw.
Screenshots
Higher DPI scale -> Lower DPI scale:
Lower DPI scale -> Higher DPI scale:
Desktop (please complete the following information):
Please run
neovide --log
and paste the contents of the.log
file created in the current directory here:neovide_backtraces.log
neovide_rCURRENT.log
Additional context
Windows has some pretty weird handling of DPI awareness:
https://learn.microsoft.com/en-us/windows/win32/hidpi/setting-the-default-dpi-awareness-for-a-process
https://learn.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows
The text was updated successfully, but these errors were encountered: