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
There seem to be specific cases where either the size of the main window collapses, or its content disappears, when it is forced onto another monitor (e.g. because of the monitor its on being disconnected). The window turns transparent, small, and without a titlebar.
Example of the main window after this bug occurs:
Reproduction
It's a bit finnicky to reproduce. I've only tried doing so on Windows 11.
Create a new vanilla-js tauri app
Make sure two monitors are both connected in extended mode. (If you connect the second monitor after the app has started, I can't seem to get it to trigger)
Launch with tauri dev. Window is now on monitor 1.
Move the main window to monitor 2. Just move it by dragging it over, window snapping seems to prevent the bug from occurring. Main window is now on monitor 2.
Put focus on a window back on monitor 1. If the main window is still focused before the next step, the bug does not seem to occur.
Disconnect monitor 2. The main window will be moved and minimized on monitor 1.
"Un-minimize" the main window. The window should now show in the unwanted state.
Expected behavior
I would expect the window to behave normally: It should keep showing its content like before the monitor was disconnected.
Describe the bug
There seem to be specific cases where either the size of the main window collapses, or its content disappears, when it is forced onto another monitor (e.g. because of the monitor its on being disconnected). The window turns transparent, small, and without a titlebar.
Example of the main window after this bug occurs:
Reproduction
It's a bit finnicky to reproduce. I've only tried doing so on Windows 11.
tauri dev
. Window is now on monitor 1.Expected behavior
I would expect the window to behave normally: It should keep showing its content like before the monitor was disconnected.
Platform and versions
Stack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: