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

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

      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.

        1. test.py
          0.3 kB
          Kovid Goyal
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes