slint
slint copied to clipboard
Nightly lsp open live-preview with wrong sized window
Bug Description
In the past couple of weeks something changed and the live-preview opens first time far smaller than it should. The screenshot is the home automation demo. The release vscode live-preview works fine.
Reproducible Code (if applicable)
Environment Details
- Slint Version: 1.12
- Platform/OS: MacOS
- Programming Language:
- Backend/Renderer:
Product Impact
Looks broken and you are forced to do extra clicks to resize the window.
I can reproduce this. This could be the winit changes, although I can't reproduce with slint-viewer. May need to bisect.
Ok, confirmed, commit 1c73144b09d263ebe20cf5e7cf500e7d4d5ac3b5 introduce this regression.
I still have that on Linux :-/
I do see this when I start my application with WAYLAND_DISPLAY="" (which I needed to do for a long time due to winit not working in Wayland for me). When I keep the wayland display now, this works.
I guess we put this down to "linux graphics stack issues" and close this again?
I couldn't reproduce this on X11. I think Simon couldn't reproduce it either. So that is maybe a different issue. If that is still an issue, please open a new issue with clear description on how to reproduce it