Skip to content

Windows 11: Window control buttons missing or flickering, title disappears intermittently using window_manager Flutter plugin #576

@AkshayStackSum

Description

@AkshayStackSum

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:

  1. Use window_manager plugin with the following WindowOptions setup:
    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,
    );
  2. Call windowManager.waitUntilReadyToShow(windowOptions, () async { ... show, maximize, focus ... });
  3. Set the window title explicitly with windowManager.setTitle('App V1.0').
  4. 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_manager shows 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions