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

QToolButton with a popup menu stays raised even after mouse leaves it on linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.3.1
    • None
    • Linux 64 bit, Qt 5.3.1, Fusion style

    Description

      If a QToolButton is added to a QToolBar and a menu is set on it. When the menu is popped up, the toolbutton stays raised even after the menu is closed by clicking on it or outside it.

      This happens only on linux, not windows or os x (tested using the Fusion style)

      I have attached a small PyQt5 program to demonstrate the issue. Simply run it as python test.py and click the test button to popup the menu, then click anywhere to close the menu.

      Attachments

        Issue Links

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

          Activity

            People

              peppe Giuseppe D'Angelo
              kovid Kovid Goyal
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes