-
-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Description
This is a relatively new issue — things worked as expected only a few months back. I expect maybe this is related to #531.
Steps to reproduce
First, switch to full screen with something like:
final windowOptions = WindowOptions(
fullScreen: true,
titleBarStyle: TitleBarStyle.hidden,
);
await windowManager.waitUntilReadyToShow(windowOptions, () { ... });Then, go back to windowed mode:
final windowOptions = WindowOptions(
fullScreen: false,
titleBarStyle: TitleBarStyle.normal, // <-- note how I force title bar back
);
await windowManager.waitUntilReadyToShow(windowOptions, () { ... });Expected result
The window will have the title screen back (ability to drag the window, close it, etc.).
Actual result
The title bar isn't shown in windowed mode after coming back from full screen.
Workaround
It looks like if I don't ever touch titleBarStyle on Windows, the issue disappears (i.e. when coming back to windowed mode, Windows automatically adds the title back.
Metadata
Metadata
Assignees
Labels
No labels