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

REG 5.9.4 => 5.12.4 setAutoRaise not working on Mac

XMLWordPrintable

    • macOS
    • a5e5943d8a7d2a1345dc94dad0a97cf2966f6e7b (qt/qtbase/dev) d786f9736b29bad3de0b422471bf85c2fa517731 (qt/qtbase/6.2)

      Mac sometimes get the hover/active state frozen and it won't be removed until the button gets activated and deactivated again. It can happen in many different situations, but having a QMenu on a toolbutton is the easiest way to reproduce.

      To reproduce.
      1) Run the attached example.
      2) Move to the button that gets red (which it should)
      3) Click the button and select an item.
      4) The menu hides and the button should no longer be active/hovered (red)

      It seems like the button doesn't get the leave event it should have and got in previous versions. The state only works correctly as long as the button is not clicked.

      A build of dev (about 2 weeks old) also has this issue. It may be a QPA issue.

        1. main.cpp
          1 kB
        2. main.pro
          0.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vhilshei Volker Hilsheimer
            tmartsum Thorbjørn Lund Martsum
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes