Chrome and desktop Instances Clutter Dock on macOS When Running Flutter Projects
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
**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:**
1. Run any Flutter project on macOS using the command `flutter run -d chrome`.
2. Observe that each new debug session adds a new Chrome icon to the macOS dock.
**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:**
- macOS Version: 14.3.1
- Chrome Version: 124.0.6367.202
Thank you for looking into this issue!
Contributor guide
Assessment
This issue has not been assessed yet.