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
But on Linux(ubuntu 22.04), main_window.outer_size() returns (0,0). After some debug, it shows to be releted with visible config. It seems not to be able to get the window outer size before the window shows. It used to work before tauri v2.1.1.
On MacOS, the inner_size would include the height of window title bar which differs from Windows and Linux behavior. I remember that the inner_size behaves the same on these three OS some time ago.
Describe the bug
While creating the main WebviewWindow with the following snippet, it works well on Windows.
But on Linux(ubuntu 22.04),
main_window.outer_size()
returns (0,0). After some debug, it shows to be releted withvisible
config. It seems not to be able to get the window outer size before the window shows. It used to work before tauri v2.1.1.On MacOS, the inner_size would include the height of window title bar which differs from Windows and Linux behavior. I remember that the inner_size behaves the same on these three OS some time ago.
Reproduction
Please refer to the description section.
Expected behavior
No response
Full
tauri info
outputMacOS:
The text was updated successfully, but these errors were encountered: