Open carl-marc opened 1 year ago
Hi @carl-marc. Thanks for filing this. I can't seem to reproduce this on my end following the steps you highlighted. The 3-tap gesture doesn't show the iOS menu when there is no TextField present. Can you try with the Code Sample Below to see if this reproduces?
```dart
import 'package:flutter/cupertino.dart';
import 'package:flutter/services.dart';
void main() {
runApp(const CupertinoApp(
title: 'Navigation Basics',
home: FirstRoute(),
));
}
class FirstRoute extends StatelessWidget {
const FirstRoute({super.key});
@override
Widget build(BuildContext context) {
return CupertinoPageScaffold(
navigationBar: const CupertinoNavigationBar(
middle: Text('First Route'),
),
child: Center(
child: CupertinoButton(
child: const Text('Open route'),
onPressed: () {
Navigator.push(
context,
CupertinoPageRoute(builder: (context) => const SecondRoute()),
);
},
),
),
);
}
}
class SecondRoute extends StatefulWidget {
const SecondRoute({super.key});
@override
State
``` [✓] Flutter (Channel stable, 3.13.6, on macOS 13.0 22A380 darwin-arm64, locale en-NG) • Flutter version 3.13.6 on channel stable at /Users/damilolaalimi/sdks/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision ead455963c (5 days ago), 2023-09-26 18:28:17 -0700 • Engine revision a794cf2681 • Dart version 3.1.3 • DevTools version 2.25.0 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/damilolaalimi/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14E300c • CocoaPods version 1.12.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) [!] Android Studio (version unknown) • Android Studio at /Users/damilolaalimi/Downloads/Android Studio Preview.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart ✗ Unable to determine Android Studio version. • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314) [✓] VS Code (version 1.82.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.50.0 [✓] Connected device (4 available) • Halimat’s iPhone (mobile) • 71c843fa5f3dec767999f36224653c0faa78660e • ios • iOS 16.6 20G75 • iPhone 14 Pro Max (mobile) • BB55E997-7F31-462D-B3B1-6B177D9B40C7 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 13.0 22A380 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 117.0.5938.132 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 1 category. ``` ``` [✓] Flutter (Channel master, 3.15.0-13.0.pre.45, on macOS 13.0 22A380 darwin-arm64, locale en-NG) • Flutter version 3.15.0-13.0.pre.45 on channel master at /Users/damilolaalimi/fvm/versions/master • Upstream repository https://github.com/flutter/flutter.git • Framework revision 4f6d4f21db (3 hours ago), 2023-10-02 02:57:41 -0400 • Engine revision 1410d689bd • Dart version 3.2.0 (build 3.2.0-220.0.dev) • DevTools version 2.28.1 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/damilolaalimi/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14E300c • CocoaPods version 1.12.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) [!] Android Studio (version unknown) • Android Studio at /Users/damilolaalimi/Downloads/Android Studio Preview.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart ✗ Unable to determine Android Studio version. • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314) [✓] VS Code (version 1.82.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.50.0 [✓] Connected device (4 available) • Halimat’s iPhone (mobile) • 71c843fa5f3dec767999f36224653c0faa78660e • ios • iOS 16.6 20G75 • iPhone 14 Pro Max (mobile) • BB55E997-7F31-462D-B3B1-6B177D9B40C7 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 13.0 22A380 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 117.0.5938.132 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 1 category. ```
Hi @dam-ease,
I created a new project and used your code and I still get the issue unfortunately.
Thanks for checking this out! I see from your flutter doctor -v
that you are reproducing this with an iOS 17 device, are you able to reproduce it on other iOS versions? On my end, I tested with iOS 16.6 but couldn't reproduce/
Yeah, I have been able to reproduce on earlier iOS versions. I have iOS users that experience the issue too.
For context, it is happening in a tapper game, so players are using 3/4 fingers and similtaneously tapping the screen at speed
Hi @carl-marc, thanks for reporting this issue! Are you experiencing this issue even with a double tap? I ask because a double tap should also initiate the showing of the text selection toolbar.
Hey @Renzo-Olivares, no I am only experiencing it with 3 tap, I've tested 2, 3 and 4 finger tapping
This issue is assigned to @Renzo-Olivares but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!
Hey @carl-marc How did you finally solve this problem
Hey @carl-marc How did you finally solve this problem
I have not, unfortunately
This issue is assigned to @Renzo-Olivares but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!
I am experiencing this issue as well, observed in both the Google Earth and Google Analytics apps on iOS devices.
Steps to Reproduce:
This issue was assigned to @Renzo-Olivares but has had no status updates in a long time. To remove any ambiguity about whether the issue is being worked on, the assignee was removed.
Is there an existing issue for this?
Steps to reproduce
From my understanding this was introduced sometime between 3.7.9 and 3.10.x
Expected results
I would not expect the 3-tap gesture to show the iOS menu in step 7.
Actual results
The 3-tap gesture shows the iOS menu even when there is no TextField present.
Code sample
Code sample
```dart ... CupertinoTextField( controller: _textController, keyboardType: const TextInputType.numberWithOptions(signed: true), inputFormatters: [ FilteringTextInputFormatter.digitsOnly, ], enableSuggestions: false, scribbleEnabled: false, enableInteractiveSelection: false, enableIMEPersonalizedLearning: false, spellCheckConfiguration: const SpellCheckConfiguration.disabled(), autocorrect: false, autofillHints: null, contextMenuBuilder: null, onTap: () { ... }, onChanged: (String value) { ... }, onSubmitted: (String value) { ... }, ), ... @override void dispose() { _textController?.dispose(); super.dispose(); } ... ```Screenshots or Video
Screenshots / Video demonstration
![Screenshot 2023-09-30 at 23 34 50](https://github.com/flutter/flutter/assets/146591908/d4b650bf-d506-4dd9-bc8c-5983adfc08ed) ![IMG_4526](https://github.com/flutter/flutter/assets/146591908/0cdb894d-ba62-49ec-b665-a19bb61327be)Logs
Logs
```console [Paste your logs here] ```Flutter Doctor output
Doctor output
```console [✓] Flutter (Channel beta, 3.15.0-15.2.pre, on macOS 13.5.2 22G91 darwin-arm64, locale en-GB) • Flutter version 3.15.0-15.2.pre on channel beta at /Users/carlhamlet/Documents/ProjectsCarl/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 0d074ced6c (9 days ago), 2023-09-21 10:24:15 -0700 • Engine revision 453411bcf3 • Dart version 3.2.0 (build 3.2.0-134.1.beta) • DevTools version 2.27.0 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /Users/carlhamlet/Library/Android/sdk • Platform android-33, build-tools 33.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.2) • Xcode at /Applications/Xcode-14.2.0.app/Contents/Developer • Build 14C18 • CocoaPods version 1.13.0 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) [✓] VS Code (version 1.78.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.72.0 [✓] VS Code (version 1.78.2) • VS Code at /Users/carlhamlet/Downloads/Visual Studio Code.app/Contents • Flutter extension version 3.72.0 [✓] Network resources • All expected network resources are available. ```