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

QToolButton "doubles" the arrow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 6.2.2
    • None
    • 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. screenshot-1.png
          screenshot-1.png
          29 kB
        3. screenshot-2.png
          screenshot-2.png
          34 kB
        4. pb_arrow_tb.png
          pb_arrow_tb.png
          3 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: