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

Crash in QMenu->popup(QPoint(...))

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 5.15.0 Beta4
    • GUI: Menus
    • None
    • GNU/Linux, gcc 9.3.1, XFCE
    • Linux/X11

    Description

      Happens in the latest Qt 5.15.0 from the repository, as of 1 May 2020 (I observed 3 days ago the bug).

      I attach a modified official example, search the text "Liviu" for my changes and comments. It crashes if we want to call QMenu->popup(QPoint(...)), if the QMenu is a child of other menu.

      How to reproduce: click Help->About Qt and OK.

      This did not happen until now in previous official Qt versions like 5.14.2 or previous Qt 5.15.0 snapshots (I observed the issue 3 days ago).

      Attachments

        1. main.cpp
          3 kB
        2. mainwindow.cpp
          13 kB
        3. mainwindow.h
          4 kB
        4. menus.pro
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            liviulalescu Liviu Lalescu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes