Repository navigation
Flutter 3.10.4 error on Apple Pencil double tap #128762
Copy link
Copy link
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consolef: gesturesflutter/packages/flutter/gestures repository.flutter/packages/flutter/gestures repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Activity
Note this is on an iPad Pro using Apple Pencil. Before upgrading flutter from 3.7.12 I have never seen this error
- addedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Jun 13, 2023 It seems there is an unfinished task as mentioned here:
flutter/packages/flutter/lib/src/gestures/converter.dart
Lines 276 to 282 in 682aa38
case ui.PointerSignalKind.unknown: default: // ignore: no_default_cases, to allow adding a new [PointerSignalKind] - PointerStylusAuxiliaryAction // TODO(louisehsu): remove after landing engine PR https://github.com/flutter/engine/pull/39637 // This branch should already have 'unknown' filtered out, but // we don't want to return anything or miss if someone adds a new // enumeration to PointerSignalKind. throw StateError('Unreachable'); Labeling the issue for more insights (I don't have Apple Pencil device to verify this, though)
cc @LouiseHsu- addedc: crashStack traces logged to the consoleStack traces logged to the consoleplatform-iosiOS applications specificallyiOS applications specificallyframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.f: gesturesflutter/packages/flutter/gestures repository.flutter/packages/flutter/gestures repository.and removedin triagePresently being triaged by the triage teamPresently being triaged by the triage teamengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
on Jun 13, 2023 Yeah that case needs to be removed, but since the double tap work ended up being scrapped there shouldn't be an unknown PointerSignalKind anyways. I dont have my pencil with me today but let me look into this.
- addedP2Important issues not at the top of the work listImportant issues not at the top of the work list
on Jun 13, 2023 - addedteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
on Jul 8, 2023
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consolef: gesturesflutter/packages/flutter/gestures repository.flutter/packages/flutter/gestures repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Is there an existing issue for this?
Steps to reproduce
Expected results
No error
Actual results
Gestures produces error
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Flutter Doctor output
Doctor output