https://bugs.kde.org/show_bug.cgi?id=468309

            Bug ID: 468309
           Summary: A QToolButton with an empty menu or no menu behaves
                    unexpectedly
    Classification: Plasma
           Product: Breeze
           Version: git-stable-Plasma/5.27
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: QStyle
          Assignee: plasma-b...@kde.org
          Reporter: computersemiexp...@outlook.com
                CC: noaha...@gmail.com, uhh...@gmail.com
  Target Milestone: ---

Created attachment 157965
  --> https://bugs.kde.org/attachment.cgi?id=157965&action=edit
A sample app that demonstrates the problem

When a QToolButton that has an empty menu is displayed, it will show a standard
button with a dropdown arrow; however, when this arrow is clicked, a 1px by 1px
menu is displayed, which is not expected.

Similarly, a QToolButton with no menu set allows you to click the dropdown
arrow, but nothing happens when the arrow is clicked.

I would propose that in both of these scenarios, the dropdown arrow should be
made unclickable and drawn in the disabled style.

See the attached main.cpp for an example of this behavior.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to