Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Crash when dragging cursor with 2 fingers on iPad while auto-completing #267

Description

@dzenbot

There must be a way to detect this gesture and like we do for the Loupe gesture, disable auto-completion's text processing to avoid this erratic behaviour.

Backtrace:

* thread #1: tid = 0x1b06ba3, 0x0000000103b0b80b libobjc.A.dylib`objc_msgSend + 11, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
    frame #0: 0x0000000103b0b80b libobjc.A.dylib`objc_msgSend + 11
    frame #1: 0x0000000102576477 UIKit`-[_UIKeyboardTextSelectionController selectPositionAtPoint:executionContext:] + 354
    frame #2: 0x0000000102bca8c1 UIKit`-[UIKeyboardTaskQueue continueExecutionOnMainThread] + 332
    frame #3: 0x0000000102616e78 UIKit`-[_UIKeyboardTextSelectionGestureController indirectPanGestureWithState:withTranslation:withFlickDirection:] + 160
    frame #4: 0x0000000102616901 UIKit`-[_UIKeyboardTextSelectionGestureController twoFingerPan:] + 1151
    frame #5: 0x00000001026cab40 UIKit`_UIGestureRecognizerSendTargetActions + 153
    frame #6: 0x00000001026c76af UIKit`_UIGestureRecognizerSendActions + 162
    frame #7: 0x00000001026c5f01 UIKit`-[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 822
    frame #8: 0x00000001026cd3f3 UIKit`___UIGestureRecognizerUpdate_block_invoke809 + 79
    frame #9: 0x00000001026cd291 UIKit`_UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 342
    frame #10: 0x00000001026beeb4 UIKit`_UIGestureRecognizerUpdate + 2624
    frame #11: 0x000000010227a592 UIKit`-[UIWindow _sendGesturesForEvent:] + 1137
    frame #12: 0x000000010227b681 UIKit`-[UIWindow sendEvent:] + 849
    frame #13: 0x000000010222d752 UIKit`-[UIApplication sendEvent:] + 263
    frame #14: 0x0000000102208fcc UIKit`_UIApplicationHandleEventQueue + 6693
    frame #15: 0x0000000103faa0a1 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #16: 0x0000000103f9ffcc CoreFoundation`__CFRunLoopDoSources0 + 556
    frame #17: 0x0000000103f9f483 CoreFoundation`__CFRunLoopRun + 867
    frame #18: 0x0000000103f9ee98 CoreFoundation`CFRunLoopRunSpecific + 488
    frame #19: 0x000000010705fad2 GraphicsServices`GSEventRunModal + 161
    frame #20: 0x000000010220e676 UIKit`UIApplicationMain + 171
  * frame #21: 0x0000000101ed046f Messenger`main(argc=1, argv=0x00007fff5dd377f8) + 111 at main.m:16
    frame #22: 0x0000000104d4e92d libdyld.dylib`start + 1
    frame #23: 0x0000000104d4e92d libdyld.dylib`start + 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions