Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-42061

QIOSTextInputResponder still in use after dealloc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.4.0 RC
    • 5.4.0 Alpha
    • QPA
    • None
    • iOS/tvOS/watchOS

      When we use iOS system dialog for camera and image cropper, we get EXC_BAD_ACCESS on [rootViewController dismissViewControllerAnimated:NO completion:nil] because it calls [QIOSTextInputResponder nextResponder] on responder that no longer exists.

      When I comment out line

      [m_textResponder release]

      in qiosinputcontext.mm everything works fine (but it will probably cause memory leaks).

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vestbo Tor Arne Vestbø
            edois Eduard Veleba
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes