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

QPushButton remains in hover state after menu closed

XMLWordPrintable

    • macOS

      QPushButton remains in the hovered state after the menu has closed by mouse click outside of menu and button areas.

      Steps to reproduce :
      Run qtbug44400.zip which uses attached main.cpp
      The button's background color is red (default) and white (hovered)
      Click on button, then click on parent widget or the menu.

      Expected result
      Button's background color becomes red

      Actual result
      Button background remains white (i.e. hovered state)

      This problem doesn't seem to occur on Windows

        1. main.cpp
          0.6 kB
          Andrey Dudakov
        2. qtbug44400.zip
          1 kB
          Nahomi Gröhn
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vhilshei Volker Hilsheimer
            amd00 Andrey Dudakov
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            3 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes