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

reg: Icon does not change anymore on checkable QPushButton

    XMLWordPrintable

Details

    • Linux/Other display system
    • e9ccdf4d8415717323ea7849ded195343560514a (qt/qtbase/dev)

    Description

      When assigning an icon on a checkable QPushButton for when the state is On or Off, the icon does not change anymore when the button is clicked in version 5.14.1. The button is displayed as active but the icon stays the same.

      It did work in version 5.14.0.

      Attached a simple reproducible example.

      Thank you

      Attachments

        1. bug_button_icon.py
          0.9 kB
          Sylvain Christin
        2. pause.svg
          0.3 kB
          Sylvain Christin
        3. play.svg
          0.2 kB
          Sylvain Christin
        4. qtbug-82110.zip
          2 kB
          Cristian Maureira-Fredes

        Issue Links

          For Gerrit Dashboard: QTBUG-82110
          # Subject Branch Project Status CR V

          Activity

            People

              chehrlic Christian Ehrlicher
              vin985 Sylvain Christin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes