Skip to content

[Bug] BackgroundColor not work in flutter > 3.22.3 #481

Closed as not planned
Closed as not planned

Description

@azkadev
Flutter 3.22.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b0850beeb2 (4 weeks ago) • 2024-07-16 21:43:41 -0700
Engine • revision 235db911ba
Tools • Dart 3.4.4 • DevTools 2.34.3
      await windowManager.waitUntilReadyToShow(
        const WindowOptions( 
          backgroundColor: Colors.transparent, 
        ),
        () async {},
      );

After the new flutter version 3.22.3 the background color cannot be changed to any color, it can only be black
this happens on window_manager: 0.3.9 & 0.4.0

Activity

  1. Henry-Hiles commented on Aug 14, 2024

    @Henry-Hiles

    Can reproduce.

  2. Henry-Hiles commented on Aug 14, 2024

    @Henry-Hiles

    Hmm this actually happens to me on Flutter 3.22.2 as well.

  3. Mr-1311 commented on Dec 4, 2024

    @Mr-1311

    in flutter 3.24 this works on windows but not on macos, is there any update on this.

  4. Kcwind commented on Aug 22, 2025

    @Kcwind

    #293 我试了一下这个方法,可以修复

  5. lijy91 commented on Sep 21, 2026

    @lijy91
    Member

    window_manager 0.5.x is no longer maintained: from 0.6.0 window_manager is rebuilt on nativeapi (Flutter package: nativeapi), and its platform code moves there.

    This hasn't been checked against nativeapi yet, so it's now on the verification list in libnativeapi/nativeapi#80. If you can reproduce it with nativeapi's Window API (or window_manager 0.6.0 once released), please add your reproduction there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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