yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia
MIT License
1.34k stars 30 forks source link

win11 with custom titlebar/no titlebar maximize covers taskbar. #250

Open yatli opened 1 year ago

yatli commented 1 year ago

Windows is doing its (too) smart and backward compatible thing here. Maximized window is sucked a few pixels into the boarder of the display, and is hanging over the taskbar.

Must work out a fix because not everyone has the option to go back to win10... Possible workaround: show system titlebar before maximize, keep track of the window geometry, hide titlebar, then restore geometry.

Update: this only happens when the maximize is triggered via win+up. Double clicking the title bar, or clicking the maximize button works as expected.