Skip to content

Windows Accessibility issue and ReorderableListView crash #103808

@0xh4n

Description

@0xh4n

hi ,
my app crashes (debug/release) should be same as #100919 , #99539 , #100610 , it was in different machine i couldn't reproduced in my main machine . but i finally found out why. and now i can reproduce it in multiple machines windows 10 / 11 .
i also found out it can reproduce this too #98099

i tested this in 2 machines (windows10/11) with both binaries compiled with my main dev machine and github actions same result.
also on 2 dev environment (main machine and virtual machine )
flutter 2.10 and 3.0 , Visual Studio 2019

Steps to Reproduce

  1. launch Window Magnifier (shortcut Win + Plus) ->> important: without this the app won't crash and will work perfectly
  2. flutter run the code sample
  3. sometimes do step 2 multiple times until it crash

Expected results:
the app run and work fine

Actual results:
the app will crash immediately most of the times .
if it doesn't crash , when you try to reorder tabs will get error in console :
ERROR:accessibility_bridge.cc(76)] Failed to update ui::AXTree #98099

release build will crash silently , debug build will get (abort/retry/cancel error dialog)

i was using TabView from fluent_ui , but it uses ReorderableListView

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
    home: Scaffold(
      body: ReorderableListView(
        onReorder: (_, __) {},
        children: [
          for (var i = 0; i < 10; i++) Text("Tab $i", key: GlobalKey())
        ],
      ),
    ),
  ));
}
flutter doctor -v from virtual machine
[√] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.19044.1288], locale en-US)
    • Flutter version 3.0.0 at E:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee4e09cce0 (5 days ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2

[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.14)
    • Visual Studio at e:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.32428.217
    • Windows 10 SDK version 10.0.19041.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1288]
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 92.0.902.67

[√] HTTP Host Availability
    • All required HTTP hosts are available

flutter doctor -v main dev machine

[√] Flutter (Channel stable, 2.10.5, on Microsoft Windows [Version 10.0.22000.652], locale en-US)
    • Flutter version 2.10.5 at E:\flutter2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (4 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at E:\Android\Android-sdk\sdk
    • Platform android-31, build-tools 32.0.0
    • Java binary at: E:\Android\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.13)
    • Visual Studio at E:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.32413.511
    • Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2021.1)
    • Android Studio at E:\Android\android-studio
    • 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.11+9-b60-7590822)

[√] VS Code (version 1.67.1)
    • VS Code at C:\Users\User\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.40.0

[√] Connected device (1 available)
    • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.652]

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

flutterbug.mp4

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 consolecp: reviewCherry-picks in the review queuecustomer: crowdAffects or could affect many people, though not necessarily a specific customer.engineflutter/engine related. See also e: labels.found in release: 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1found in release: 3.3Found to occur in 3.3has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-windowsBuilding on or for Windows specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions