Description
Bug Description
when moving the slint preview window over to another monitor with a higher DPI (using the VSCode extension) the UI doesnt get larger like intended, and this is a huge problem for me when developing my app. what i noticed is that whenever i use the preview for the first time in a new VSCode flavored IDE (e.g. vscode, vscode insiders, etc) it does work, but only for the duration of that window session, then it never works again. ive also tried uninstalling every other VSCode extension/using the default settings, and its the same result
for steps to reproduce, just use a brand new vscode installation then have a higher DPI monitor setup, install the slint extension, then show preview. then it should result in exactly what i described above, then close and reopen the IDE and try previewing again moving the window back/forth from both monitors, and it doesnt change
not sure how to pull logs off of the extension, so none available
Reproducible Code (if applicable)
Environment Details
- Slint Version: 1.12.1
- Platform/OS: Windows 10
- Programming Language: Rust
- Backend/Renderer: winit/skia
Product Impact
- im building a game launcher
- this issue is crucial since i use a secondary monitor to preview my UI while coding on the main, and running the app will result in a different look than what i preview (it looks much smaller since the DPI is 1.25x)