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

qApp activeWindow wrong after button menu popup

XMLWordPrintable

      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.

        1. 5.15.3.mp4
          245 kB
        2. activeWindow.zip
          84 kB
        3. activeWindowBug.png
          activeWindowBug.png
          83 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes