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

QToolButton remains in hover state after menu closed

    XMLWordPrintable

Details

    Description

      If a QToolButton with a menu is set to auto-raise, then the button remains in the raised state after the menu has closed, even if the mouse is no longer over the button. If the mouse is then moved back over, and then away from the button, the raised state is removed.

      Steps to reproduce with qtbug36862.zip:

      • Click on button, choose "Action" from menu
      • Hover state remains (expected: Hover is reset
      • Click on button
      • Click on button again to close menu: Works as expected, Hover is reset
      • Run with -style windows: Works as expected, Hover is reset

      Attachments

        1. toolbuttonbug.cpp
          0.6 kB
        2. qtbug36862.zip
          0.9 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-36862
          # Subject Branch Project Status CR V

          Activity

            People

              tvete Paul Olav Tvete
              craigd Craig Drummond
              Votes:
              5 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes