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
When using a Tauri application with decoration: false, several issues occur with window sizing, particularly in fullscreen mode:
Inner Window Size in Fullscreen:
When transitioning from a non-maximized window to fullscreen, the inner WRY webview is slightly smaller (by about one pixel).
These issues only appear when decoration: false; with decoration: true, the behavior is correct.
Unexpected Borders in Fullscreen:
A white or black border sometimes appears when in fullscreen mode.
Incorrect Window Size on Creation:
A window configured with dimensions 800x600 creates an outer window of 816x639 pixels.
The inner WRY webview further deviates to 814x637 pixels.
Fullscreen Issues After Maximization:
If the window is maximized before entering fullscreen, the window becomes even more misaligned, with a 40-pixel offset and overflowing content on the right side of the screen.
Reproduction
Steps to Reproduce
Create a Tauri window with the following configuration:
In addition, after updating to tauri 2.0.6, for any window with decoration is set to false view higit will be calculated wrongly.
For example for window with settings:
I also encountered this issue: when setting decoration to false, there are problems with width and height calculations, and the window's move handle (title bar) also doesn't work properly, and it never takes effect.
Describe the bug
When using a Tauri application with
decoration: false
, several issues occur with window sizing, particularly in fullscreen mode:Inner Window Size in Fullscreen:
decoration: false
; withdecoration: true
, the behavior is correct.Unexpected Borders in Fullscreen:
Incorrect Window Size on Creation:
800x600
creates an outer window of816x639
pixels.814x637
pixels.Fullscreen Issues After Maximization:
Reproduction
Steps to Reproduce
Expected behavior
Full
tauri info
outputStack trace
No response
Additional context
This issue does not occur when decoration: true
The text was updated successfully, but these errors were encountered: