Repository navigation
Flow and Opacity don't play well together with hit testing #6100
Copy link
Copy link
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectfound in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.12Found to occur in 3.12Found to occur in 3.12frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Description
Activity
- addedframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
on Sep 27, 2016 There is a merged PR for this. Is it still relevant?
@esarbanis This issue is mentioned as remaining work in the discussion
but fixes #6089.Thanks @zoechi!
I will give it a try then 😊
Reacted by Günter Zöchbauer@esarbanis Do you have a use case why you need to hit test something invisible?
- modified the milestones: This milestone has been deleted, This milestone has been deleted
on Jan 7, 2020 - addedP3Issues that are less important to the Flutter projectIssues that are less important to the Flutter project
on May 29, 2020 18 remaining items
- added a commit that references this issue
on Jul 25, 2023 We took too long to fix this, and now people just assume that opacity=0 won't stop hit testing, so there's not really a fix here. I attempted to add documentation instead.
- added a commit that references this issue
on Jul 26, 2023 - addedr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionand removedwaiting for PR to land (fixed)A fix is in flightA fix is in flight
on Jul 27, 2023 - added a commit that references this issue
on Aug 2, 2023 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Aug 10, 2023
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectfound in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.12Found to occur in 3.12Found to occur in 3.12frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
The
Flowwidget does a bunch of interesting work duringpaint. If theFlowwidget is inside anOpacitywidget with opacity of 0.0, then theFlowwill never get to paint. That confuses the hit testing logic forFlow, which assumes that the data generated duringpaintis available and up-to-date.