#2479·neovide

Moving window between displays with different UI scaling doesn't cause a re-layout

Author: dapetcu21Created Apr 10, 2024Updated Aug 17, 2026
LabelsbugWindowing

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:

  1. Open Neovide
  2. 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: image

Lower DPI scale -> Higher DPI scale: image

Desktop (please complete the following information):

  • OS: Windows 10.0.19044
  • Neovide Version 0.12.2
  • Neovim Version 0.9.5

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