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
I'm trying to create a new window from rust and embed a GStreamer sink into it. However, to do so, I need the dimensions of the window to embed the surface. The window is opening in fullscreen (1920 x 1800). I'm trying to use the inner_size method and I'm not getting the correct dimensions i.e width: 852, height: 652 even though my monitor's dimensions are 1920 x 1080
Describe the bug
I'm trying to create a new window from rust and embed a GStreamer sink into it. However, to do so, I need the dimensions of the window to embed the surface. The window is opening in fullscreen (1920 x 1800). I'm trying to use the
inner_size
method and I'm not getting the correct dimensions i.e width: 852, height: 652 even though my monitor's dimensions are 1920 x 1080Reproduction
No response
Expected behavior
Expecting
inner_size()
to give me correct dimensions of 1920 x 1080Full
tauri info
outputStack trace
No response
Additional context
I'm seeing that the dimensions that I'm getting correct after the first restart. But doing a run after that is giving me the incorrect dimensions
The text was updated successfully, but these errors were encountered: