flutter-quill
flutter-quill copied to clipboard
Crash on macOS desktop app.
Have you checked for an existing issue?
- [x] I have searched the existing issues
Flutter Quill Version
11.4.1
Steps to Reproduce
- I run your example file, try to edit it, and then it suddenly crashes.
- I am also facing the same issue with what I implemented.
Expected results
- When I click on Quill, it crashes my macOS desktop app.
- I am facing the same issue in your example too.
Actual results
..
Additional Context
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull longLongValue]: unrecognized selector sent to instance 0x1eefa8c00' *** First throw call stack: ( 0 CoreFoundation 0x00000001820f62ec __exceptionPreprocess + 176 1 libobjc.A.dylib 0x0000000181bda158 objc_exception_throw + 60 2 CoreFoundation 0x00000001821a856c -[NSObject(NSObject) __retain_OA] + 0 3 CoreFoundation 0x000000018205ff3c ___forwarding___ + 1580 4 CoreFoundation 0x000000018205f850 _CF_forwarding_prep_0 + 96 5 FlutterMacOS 0x0000000108675e34 -[FlutterTextInputPlugin handleMethodCall:result:] + 2324 6 FlutterMacOS 0x000000010932b4b4 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 180 7 FlutterMacOS 0x000000010865e748 -[FlutterEngine engineCallbackOnPlatformMessage:] + 416 8 FlutterMacOS 0x0000000108f2f024 _ZNSt3_fl10__function6__funcIZ23FlutterEngineInitializeE3$_3NS_9allocatorIS2_EEFvNS_10unique_ptrIN7flutter15PlatformMessageENS_14default_deleteIS7_EEEEEEclEOSA_ + 128 9 FlutterMacOS 0x0000000108f427f4 _ZN7flutter20PlatformViewEmbedder21HandlePlatformMessageENSt3_fl10unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE + 76 10 FlutterMacOS 0x0000000108f43384 _ZNSt3_fl10__function6__funcIN3fml8internal14CopyableLambdaIZN7flutter20PlatformViewEmbedder30EmbedderPlatformMessageHandler21HandlePlatformMessageENS_10unique_ptrINS5_15PlatformMessageENS_14defa 11 FlutterMacOS 0x0000000108f3f3c4 _ZN7flutter18EmbedderTaskRunner8PostTaskEy + 652 12 FlutterMacOS 0x0000000108f3395c _ZN7flutter14EmbedderEngine7RunTaskEPK11FlutterTask + 56 13 FlutterMacOS 0x0000000108f26890 FlutterEngineRunTask + 68 14 FlutterMacOS 0x0000000108661aa8 __60-[FlutterEngine postMainThreadTask:targetTimeInNanoseconds:]_block_invoke + 72 15 FlutterMacOS 0x0000000108671734 -[FlutterRunLoop performExpiredTasks] + 524 16 CoreFoundation 0x00000001820814d8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 17 CoreFoundation 0x000000018208146c __CFRunLoopDoSource0 + 176 18 CoreFoundation 0x00000001820811dc __CFRunLoopDoSources0 + 244 19 CoreFoundation 0x000000018207fdc8 __CFRunLoopRun + 828 20 CoreFoundation 0x000000018207f434 CFRunLoopRunSpecific + 608 21 HIToolbox 0x000000018c82a19c RunCurrentEventLoopInMode + 292 22 HIToolbox 0x000000018c829fd8 ReceiveNextEventCommon + 648 23 HIToolbox 0x000000018c829d30 _BlockUntilNextEventMatchingListInModeWithFilter + 76 24 AppKit 0x00000001858decc8 _DPSNextEvent + 660 25 AppKit 0x00000001860d54d0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700 26 AppKit 0x00000001858d1ffc -[NSApplication run] + 476 27 AppKit 0x00000001858a9240 NSApplicationMain + 880 28 Cluster-Test.debug.dylib 0x0000000102cf2414 $sSo21NSApplicationDelegateP6AppKitE4mainyyFZ + 40 29 Cluster-Test.debug.dylib 0x0000000102cf23dc $s12Cluster_Test11AppDelegateC5$mainyyFZ + 44 30 Cluster-Test.debug.dylib 0x0000000102cf247c __debug_main_executable_dylib_entry_point + 28 31 dyld 0x0000000181c17154 start + 2476 ) libc++abi: terminating due to uncaught exception of type NSException
I think this is duplicate of #2572
https://github.com/singerdmx/flutter-quill/pull/2579/commits/5ff596725a4058aeb599c6068ea95c149c22be35
Fix Pr
Is this a joke? How could this happen? Is there ZERO automated testing? It just straight up doesn't work on Mac...
It just straight up doesn't work on Mac...
Flutter Quill depends on internal APIs from Flutter, which were silently broken during the addition of multi-window support, AFAIK.