Skip to content

[macOS] Crash on accessibility text zoom on hover #102416

@cbracken

Description

@cbracken

Repro steps:

  1. Open System Preferences
  2. Select Accessibility
  3. Select the Zoom options from the sidebar
  4. Check the Enable Hover Text setting.
  5. Launch a Flutter app.
  6. 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:

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: desktopRunning on desktopc: crashStack traces logged to the consolehas reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-macBuilding on or for macOS specifically

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions