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

QToolButton "doubles" the arrow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.2.2
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      All

      Description

      I have fairly big C++/qt app and one visual glitch present ONLY in Qt 6 which I just cannot be able to fix, here is source code - https://github.com/martinrotter/rssguard/blob/master/src/librssguard/gui/reusable/helpspoiler.cpp#L19 - problem is related to member "m_btnToggle" (QToolButton).

      Here is screenshot. That red rectangle is whole HelpSpoiler widget. Orange one is "m_btnToggle". Sadly on Qt 6, there are two "arrows" drawn! One on the left - which is correct - and one in the middle of the button text! Totally baffled by that.

      Any ideas?

        Attachments

        1. image-2022-01-21-07-06-42-344.png
          image-2022-01-21-07-06-42-344.png
          12 kB
        2. pb_arrow_tb.png
          pb_arrow_tb.png
          3 kB
        3. screenshot-1.png
          screenshot-1.png
          29 kB
        4. screenshot-2.png
          screenshot-2.png
          34 kB

          Issue Links

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

            Activity

              People

              Assignee:
              vhilshei Volker Hilsheimer
              Reporter:
              skunkos Martin Rotter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes