-
-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Description
Title:
Windows 11: Window control buttons missing or flickering, title disappears intermittently using window_manager Flutter plugin
Description:
I am experiencing a persistent issue on Windows 11 where the native window control buttons (minimize, maximize, close) are mostly missing from my Flutter desktop app’s window frame. Sometimes the close button appears only on hover, but the minimize and maximize buttons never appear. Additionally, the window title flickers or disappears during resizing or moving the window, only showing briefly on certain window operations.
Reproduction steps:
- Use
window_managerplugin with the followingWindowOptionssetup:WindowOptions windowOptions = WindowOptions( minimumSize: const Size(1024, 512), size: const Size(1024, 512), center: true, fullScreen: false, backgroundColor: Colors.white, skipTaskbar: false, titleBarStyle: TitleBarStyle.normal, windowButtonVisibility: true, );
- Call
windowManager.waitUntilReadyToShow(windowOptions, () async { ... show, maximize, focus ... }); - Set the window title explicitly with
windowManager.setTitle('App V1.0'). - Observe that the minimize and maximize buttons do not render or appear on hover, and the window title disappears when resizing or moving the window.
Expected behavior:
- The window title is consistently visible.
- All three native window control buttons (minimize, maximize, close) are visible and functional immediately on window launch.
Actual behavior:
- The close button appears only on hover.
- The minimize and maximize buttons are missing.
- The title flickers or disappears intermittently, especially when resizing or moving the window.
Environment:
- Flutter version: (3.29.2)
- window_manager package version: (0.4.3)
- OS: Windows 11
Additional context:
- Tested with a clean minimal Flutter app using
window_managershows similar behavior. - Tried toggling titleBarStyle, removing
windowButtonVisibility, forcing window focus, and minimizing/restoring the window programmatically without success. - Issue is reproducible reliably on multiple Windows 11 machines.
Metadata
Metadata
Assignees
Labels
No labels