Skip to content

[Cp] Fix Tooltip crash when selected in a SelectableRegion (#130181) - #131288

Merged
auto-submit[bot] merged 1 commit into
flutter:flutter-3.13-candidate.0from
LongCatIsLooong:cp-130181
Aug 7, 2023
Merged

auto-submit[bot] merged 1 commit into
flutter:flutter-3.13-candidate.0from
LongCatIsLooong:cp-130181

Conversation

@LongCatIsLooong

@LongCatIsLooong LongCatIsLooong commented Jul 25, 2023 •

Copy link
Copy Markdown
Contributor

CP: #131005

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Fixes flutter#129969 by making tooltip text unselectable (for now). 
Also fixes some other issues uncovered when I was writing the tests.

Currently `getTransformTo` only works on ancestors. I'll try to add a new method that computes the transform from 2 arbitrary render objects in the same render tree in a follow-up PR and make `Selectable` use that method instead.
@github-actions github-actions Bot added framework flutter/packages/flutter repository. See also f: labels. p: material_ui material_ui package in flutter/packages labels Jul 25, 2023
@LongCatIsLooong LongCatIsLooong changed the title [Cp] #130181 [Cp] Fix Tooltip crash when selected in a SelectableRegion (#130181) Jul 25, 2023
@CaseyHillers CaseyHillers added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 7, 2023
@auto-submit
auto-submit Bot merged commit 85127f4 into flutter:flutter-3.13-candidate.0 Aug 7, 2023
@LongCatIsLooong
LongCatIsLooong deleted the cp-130181 branch August 7, 2023 23:16
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 16, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App framework flutter/packages/flutter repository. See also f: labels. p: material_ui material_ui package in flutter/packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants