Skip to content

disable the screenshots tool by default - #210

Merged
auto-submit[bot] merged 3 commits into
mainfrom
disable-screenshot-tool
Jun 30, 2025
Merged

auto-submit[bot] merged 3 commits into
mainfrom
disable-screenshot-tool

Conversation

@jakemac53

Copy link
Copy Markdown
Contributor

Disabling due to flutter/flutter#170357 - this only works today by default on the desktop environment.

We could fall back on full device screenshots but are holding off on that for now as we have to evaluate some extra potential privacy concerns with exposing the entire screen as opposed to just the flutter drawn pixels.

@github-actions

Copy link
Copy Markdown

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

static const _inspectorServiceExtensionPrefix = 'ext.flutter.inspector';

/// Whether or not to enable the screenshot tool.
bool get enableScreenshots;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this default to false instead of being an abstract getter?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is overridden always so the default would be meaningless here

@kenzieschmoll kenzieschmoll left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a couple comments but lgtm

@kenzieschmoll kenzieschmoll left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changelog entry?

@auto-submit
auto-submit Bot merged commit b7d438b into main Jun 30, 2025
@auto-submit
auto-submit Bot deleted the disable-screenshot-tool branch June 30, 2025 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants