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

QToolButton with style sheet in MenuButtonPopup mode doesn't draw correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.2, 6.3, 6.4
    • 6.2.3
    • Widgets: Style Sheets
    • None

    Description

      This is a regression from 6.2.2. QToolButtons in MenuButtonPopup mode now draw a border around the menu button when any style sheet is set. Without a style sheet it looks like it did in 6.2.2. What's worse, when the menu button's border is manually disabled in the style sheet (QToolButton::menu-buttonĀ { border: none }) the regular menu indicator seems to show through. See attached screenshots and sample code.

      Attachments

        1. border-none.png
          border-none.png
          111 kB
        2. no-style-sheet.png
          no-style-sheet.png
          111 kB
        3. style-sheet.png
          style-sheet.png
          111 kB
        4. test.cpp
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            axelspoerl Axel Spoerl
            jasonhaslam Jason Haslam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week
                1w

                Gerrit Reviews

                  There are no open Gerrit changes