Skip to content

Enable having chrome launches persist the window locations between runs #38537

@devoncarew

Description

@devoncarew

We currently create a temporary directory to hold Chrome's user-data-dir each time we launch a web device:

https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/web/chrome.dart#L81

This means that the position of the chrome window won't be remembered between sessions.
The user will position it, but when they next launch their app, will need to reposition it.

We may instead want to write the the --user-data-dir to the .dart_tool/ dir in the project, or a persistent dir in their home directory?

cc @jonahwilliams

Metadata

Metadata

Assignees

Labels

platform-webWeb applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions