You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copy/Paste menu should disable Paste if clipboard is empty #4355
When Flutter shows the Copy/Paste toolbar, the Paste option is available even if the clipboard is empty. (I tested this in the codelab.) According to the Material Design Spec:
Menu items which are relevant but need certain conditions to be met may be disabled.
Although the spec says "MAY", I've never seen an app that allows you to tap Paste if the clipboard is empty.
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 -v and a minimal reproduction of the issue.
Activity
abarth commentedon Jun 3, 2016
/cc @mpcomplete
Hixie commentedon Oct 24, 2017
Finding out the state is something you can only do asynchronously, so we should delay building this UI until we know.
Disable linear blending, use SkColorSpaceXformCanvas instead (flutter…
Hixie commentedon Feb 3, 2020
cc @justinmc
justinmc commentedon Feb 3, 2020
I'll add this to my list of issues. Looks like there is a TODO in the code about this.
justinmc commentedon May 8, 2020
Closing with #56689 and #54902.
github-actions commentedon Aug 17, 2021
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.