-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#35453Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: desktopRunning on desktopRunning on desktopc: crashStack traces logged to the consoleStack traces logged to the consolehas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically
Description
Repro steps:
- Open System Preferences
- Select Accessibility
- Select the Zoom options from the sidebar
- Check the Enable Hover Text setting.
- Launch a Flutter app.
- Hover the mouse pointer over a textfield or button (e.g. the click-counter FAB) and press the Command key to activate hover zoom.
Expected behaviour: Zoomed text appears in a tooltip-like window
Actual behaviour: App crashes with [ERROR:ax_platform_node_mac.mm(1019)] Reached unreachable code
Root cause: - (NSRange)accessibilityRangeForPosition:(NSPoint)point is currently implemented as unreachable.
Our current implementation matches Chromium's, however, this functionality does work for me in Chromium, so it's likely that we're getting this call as a fallback for some other call that's unimplemented in Flutter but implemented in Chromium:
- https://chromium.googlesource.com/chromium/src/+/main/ui/accessibility/platform/ax_platform_node_cocoa.mm#2020
- https://chromium.googlesource.com/chromium/src/+/main/ui/accessibility/platform/ax_platform_node_cocoa.mm#1589
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: desktopRunning on desktopRunning on desktopc: crashStack traces logged to the consoleStack traces logged to the consolehas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically
Type
Projects
Status
Done