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

iOS-Regression: QToolbar Crashes When Moving and Docking It to Another or the Same QToolBarArea

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.3.0
    • 5.3.0 Beta1
    • QPA
    • None
    • iOS/tvOS/watchOS
    • b8d0fac5a92984c432271530e2d3560ec0f1d442

    Description

      It was "mostly" working in Qt-5.2.1

      Both in 5.3.0 Beta and git-stable dd. April-8-2014, morning,
      when moving a toolbar from one toolbar-area to another or
      to the same toolbar-area by undocking and docking,
      it crashes on docking in the following code:

      qtoolbar.cpp, line 342

      Debugger points to the call layout->hover
      -----------------------------------
      q->move(pos);

      layout->hover(state->widgetItem, event->globalPos());

      } else if (state->moving) {
      -----------------------------------

      The call-stack is below:

      QToolBarPrivate::mouseMoveEvent(QMouseEvent*) qtoolbar.cpp 342 0x25ae1c
      1 QToolBar::event(QEvent*) qtoolbar.cpp 1096 0x25bbda
      2 QApplicationPrivate::notify_helper(QObject*, QEvent*) qapplication.cpp 3491 0x107d98
      3 QApplication::notify(QObject*, QEvent*) qapplication.cpp 3058 0x109af0
      4 QCoreApplication::notifyInternal(QObject*, QEvent*) qcoreapplication.cpp 935 0x7c59ca
      5 QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) qcoreapplication.h 240 0x10d25e
      6 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) qapplication.cpp 2531 0x108768
      7 QWidgetWindow::handleMouseEvent(QMouseEvent*) qwidgetwindow.cpp 504 0x155148
      8 QWidgetWindow::event(QEvent*) qwidgetwindow.cpp 179 0x154316
      9 QApplicationPrivate::notify_helper(QObject*, QEvent*) qapplication.cpp 3491 0x107d98
      10 QApplication::notify(QObject*, QEvent*) qapplication.cpp 2944 0x1093d4
      11 QCoreApplication::notifyInternal(QObject*, QEvent*) qcoreapplication.cpp 935 0x7c59ca
      12 QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) qcoreapplication.h 240 0x10d25e
      13 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) qguiapplication.cpp 1697 0x3f1d7e
      14 QGuiApplicationPrivate::processTouchEvent(QWindowSystemInterfacePrivate::TouchEvent*) qguiapplication.cpp 2360 0x3f331e
      15 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) qguiapplication.cpp 1511 0x3f1726
      16 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) qwindowsysteminterface.cpp 579 0x3e7212
      17 QWindowSystemInterface::flushWindowSystemEvents() qwindowsysteminterface.cpp 563 0x3e6b50
      18 -[QUIView sendTouchEventWithTimestamp:] qioswindow.mm 236 0xdcea0
      19 -[QUIView touchesEnded:withEvent:] qioswindow.mm 271 0xdd3d2
      20 -[UIWindow _sendTouchesForEvent:] -[UIWindow _sendTouchesForEvent:] 0x2fe59720
      21 -[UIWindow sendEvent:] -[UIWindow sendEvent:] 0x2fe546ea
      22 -[UIApplication sendEvent:] -[UIApplication sendEvent:] 0x2fe298ec
      23 _UIApplicationHandleEventQueue _UIApplicationHandleEventQueue 0x2fe27f96
      24 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ 0x2d5d425a
      25 __CFRunLoopDoSources0 __CFRunLoopDoSources0 0x2d5d372a
      26 __CFRunLoopRun __CFRunLoopRun 0x2d5d1f1e
      27 CFRunLoopRunSpecific CFRunLoopRunSpecific 0x2d53cf4e
      28 CFRunLoopRunInMode CFRunLoopRunInMode 0x2d53cd32
      29 GSEventRunModal GSEventRunModal 0x32462662
      30 UIApplicationMain UIApplicationMain 0x2fe8816c
      31 main qioseventdispatcher.mm 232 0xd7636
      32 start start 0x2ced8

      Attachments

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

        Activity

          People

            richard Richard Moe Gustavsen
            coroberti Robert Iakobashvili
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes