-
Notifications
You must be signed in to change notification settings - Fork 27.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS][iPad]: Textfield not responding to CMD+C
and CMD+V
shortcuts using external keyboard
#98832
Comments
Verified this behavior on latest master and stable using iPad Pro (4th gen) and observed that typing from external keyboard (e.g bluetooth) works, but copy paste isn't working, as shown below: 98832_i.movThe same scenario works properly on iOS simulator whereing typing and copy paste seems to work as expected, as below: 98832_s.movWhen using cmd+c and cmd+v on simulator, the simulator displays a message on top of it This behavior was fixed as part of this issue: #70104, PR : flutter/engine#28971 but seem to have come back. stable, master flutter doctor -v
Labeling it as a regression, since this was fixed but still occuring on latest versions. /cc @jmagman |
CMD+C
and CMD+V
shortcuts using external keyboard
Thanks @darshankawar for spotting the commits in the regression. Marking this a P2. cc @jmagman |
@cyanglaz is looking at this. |
Is this likely the same issue as #68514? Supposedly PR: flutter/engine#28971 had fixed that as well, but I'm seeing it on stable. If this regression is unrelated, I can file another issue. |
I'm seeing it (#68514) too on stable channel. It's not in 2.8.x, but seems to appear from 2.10.0. |
The issue is that https://github.com/flutter/engine/blob/main/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm#L1051 prevented the actions to go through, as when it is on iPad Pro, A simple fix could be just allow actions like copy and paste passing through regardless of Maybe @justinmc, @gaaclarke, @LongCatIsLooong or @fbcouch can provide some advices? |
Thanks for tracking that down @cyanglaz. I'll try a few solutions after my engine compiles. |
@justinmc Great! Thanks, feel free to assign yourself if you plan to work on it :) |
it looks like that NO was added because otherwise the paste notification shows up on every keypress ("[appname] pasted from ..."). I think I have a fix in flutter/engine#31691. Trying to get the tests working so I can write one... |
Thank you @justinmc! |
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 |
Copy (
CMD + C
) and paste (CMD + V
) shortcuts do not work on iPad when using an external keyboard.There were no problems with the iPhone.
Steps to Reproduce
sample code
flutter doctor -v
The text was updated successfully, but these errors were encountered: