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
On windows 11 Tauri webview window size is not the same as define in config.
Size in tauri config: 715x505
When I run app on my client's windows 11 pc, tauri window has size around 590x400. Looks like problem with scaling on that machine. When running app on windows 10 (different pc) its working good. On macos its working good.
Im running on windows applicaiton builded on GH actions (target windows-latest)
Describe the bug
On windows 11 Tauri webview window size is not the same as define in config.
Size in tauri config: 715x505
When I run app on my client's windows 11 pc, tauri window has size around 590x400. Looks like problem with scaling on that machine. When running app on windows 10 (different pc) its working good. On macos its working good.
Im running on windows applicaiton builded on GH actions (target windows-latest)
Im not sure if thats the reason but found that there was a bug on windows webview2 -> MicrosoftEdge/WebView2Feedback#1700
Currently my workaround for that is checking size on of react container and resizing window if size is less than definied in config.
I was trying:
Reproduction
Run application with window size 715x505 on windows 11.
Expected behavior
Tauri window should be the same as in tauri.config.json
Full
tauri info
outputStack trace
No response
Additional context
Discord support post: https://discord.com/channels/616186924390023171/1294718226109956160
The text was updated successfully, but these errors were encountered: