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

Crash when passing the mouse over MenuBar::Menus

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.2.0 RC1
    • Fix Version/s: 5.2.0
    • Component/s: Quick: Controls 1
    • Labels:
      None
    • Environment:
      Qt 5.2 git stable compiled 08/dec 2013, Arch Linux Kernel 3.12.3, x86_64
    • Commits:
      qtdeclarative: 0d1e1ddbf5732f1755d31020f82c540f2a69f756

      Description

      Steps to reproduce:
      Load the attached file with qmlscene, click on any menu and move the mouse around to the other menus. The bug is not triggered imediattely, so you must keep moving untill it breaks ( can take up to 1 to 50 trials, I'v managed to crash qmlscene in every attempt in less than 15 secs. )

      Whem using the qmlscene from Qt 5.1 and the attached file, an warning is issued: "QQuickWindow::sendEvent: Cannot send event to a null item"
      But with the same file, if used from a qmlscene from Qt 5.2 an assert is thrown, ASSERT: "oldActiveFocusItem" in file items/qquickwindow.cpp, line 773

      The file attached is simly a ApplicationWindow with a MenuBar populated with Actions - nothing fancy, and really small code.

        Attachments

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

          Activity

            People

            Assignee:
            frederik Frederik Gladhorn
            Reporter:
            tcanabrava Tomaz Canabrava
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes