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

qApp activeWindow wrong after button menu popup

    XMLWordPrintable

Details

    Description

      qApp->activeWindow() is incorrect when clicking to another window after a button menu popup was shown. Does not matter if you click the other window's titlebar or in any empty layout area. When the popup action is selected or closed, this problem goes away.  Please see screen shot. I attached a small program to reproduce it.  The bug is similar on macos 10.13.3 and qt 5.7.0 and 5.9.2.

      Attachments

        1. 5.15.3.mp4
          245 kB
          Remik Ziemlinski
        2. activeWindow.zip
          84 kB
          Remik Ziemlinski
        3. activeWindowBug.png
          83 kB
          Remik Ziemlinski

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              remik Remik Ziemlinski
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes