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

iOS: Crash when opening menus in QtQuickControls

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.7.0 RC
    • 5.7.0 Beta
    • Quick: Controls 1
    • None
    • iOS
    • iOS/tvOS/watchOS

    Description

      Found crash when testing package Qt-5.7.0-334 (and also when testing Qt-5.7 branch from repo).

      If running e.g texteditor example in qtquickcontrols, you will get a crash when trying to open e.g the file menu or a combobox, and then close it.
      The offending patch that introduced it: e78ca787a (qtbase). https://code.qt.io/cgit/qt/qtbase.git/commit/?id=e78ca787a

      The reason for the crash is that QIOSTextResponder will (after the patch) clear the focus object immediately after opening a menu. This is wrong, since the menu would normally close again when changing focus object, except since this happens while the menu is about to open, it is unexpected and leaves QIOSMenu in a wrong state.

      Attachments

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

        Activity

          People

            richard Richard Moe Gustavsen
            richard Richard Moe Gustavsen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes