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. 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes