Chrome and desktop Instances Clutter Dock on macOS When Running Flutter Projects #148489
Labels
a: desktop
Running on desktop
platform-mac
Building on or for macOS specifically
platform-web
Web applications specifically
team-desktop
Owned by Desktop platforms team
tool
Affects the "flutter" command-line tool. See also t: labels.
Description:
When running Flutter projects in Chrome on macOS, each debug session spawns a new Chrome instance which appears as a new icon in the dock. This behavior clutters the dock with multiple Chrome icons, particularly during frequent debug sessions.
Steps to Reproduce:
flutter run -d chrome
.Expected Behavior:
Repeated runs of Flutter projects in Chrome should reuse the existing Chrome instance or at least not add new icons to the macOS dock.
Actual Behavior:
Each run of a Flutter project results in a new Chrome icon appearing in the dock.
Possible Solution:
Perhaps Flutter can include an option to reuse browser instances for macOS users, or better manage how new instances are handled with respect to macOS's dock.
Flutter Doctor Output:
Additional Information:
Thank you for looking into this issue!
The text was updated successfully, but these errors were encountered: