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

QTouchEvents not received on iOS (9.3) until app becomes inactive then active again.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.7.1, 5.8.0 RC
    • None
    • XCode 8.2, iOS 9.3, Qt 5.7.1 and 5.8.0RC built on macOS Sierra and El Capitan
    • iOS/tvOS/watchOS

    Description

      Additional information to add to the info below.

      This occurs in iOS 9.3 but an upgrade to 10.2 "fixed" the problem.

      Further discussion is here https://forum.qt.io/topic/74865/ios-not-receiving-touchevent-at-app-start-up

      /////////////////////////////

      I'm porting my Qt 5.7.1 application to iOS, So, to clarify it's working fine on Android and Desktop (macOS). I'm using XCode 8.2 on Sierra. Using the iOS 10.2 SDK. I'm building and launching the app from XCode but also using Qt Creator as my man IDE as there are other platforms in there to support.

      When my application starts no touch events are received although I see all the usual events. The "platform_opengl_window" referenced in the debug log is derived from QWindow and my own "i_platform_window_opengl" interface (for various porting and testing reasons).

      The weirdness is this. The app receives no touch events until I swipe up from the bottom of the screen to open the iOS "utility" panel (not sure what it's proper name is). At which point my application becomes inactive (this is good!) and then I DO start to receive touch events.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            matthew@kuiash Matthew Porth
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes