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

QMainWindow Menu / actions sometimes not displayed when performing long operations

    XMLWordPrintable

Details

    • Linux/X11
    • d27a623524 (qt/qtbase/dev) d27a623524 (qt/tqtc-qtbase/dev) f9b134d9e7 (qt/tqtc-qtbase/5.15) fbe46b767c (qt/tqtc-qtbase/6.3) b33386895d (qt/tqtc-qtbase/6.2)

    Description

      The attached project contains a MainWindow with a QGraphicsView and an action to "copy" the window => create a new instance of it with the initial window as the parent. On some machines copying the window 1-3 times causes the menu to stop showing entirely.

      This problem seems to occur at least on physical machines with:

      • CentOS 7.9, kde & gnome
      • CentOS 8.5, gnome

      This has also been tested with ubuntu, win10 and centos on virtual machines but in these environments the problem did not occur.

      Steps to reproduce the problem:

      1. run the attached project
      2. click "Menu" => "copy"
      3. while the second window is being created click repeatedly on the menu (skipping this step may cause the problem not to occur)
      4. Attempt to interact with menu after the second window appears
      5. Repeat (up to 3 times if problem doesn't occur).

      Apparently this is a fairly new issue and cannot be reproduced with early 5.12 bug fix versions.

      Attachments

        1. testProgram3.zip
          3 kB
        2. qtdiag.txt
          7 kB
        3. qtbug101347.zip
          2 kB
        4. output.mp4
          1.58 MB

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              miikapernu Miika Pernu
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: