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

ToolButton use wrong icon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.14.0
    • Quick: Controls 2
    • None
    • Linux/X11

      on archlinux/kde, the 'icon.source' in ToolButton can't work, just give blank. (but on windows work).

       

      so I changed to use 'icon.name' with my own icon theme. for 'success', it work.
      But for 'error', it always use system's icon.

      I checked Button, it can work as expected.

      I add two icon theme, 'debugger' and 'invert',
      set icontheme to 'invert',
      with 'icon.name' as 'success' both for ToolButton and Button,

      It looks like the 'ToolButton' use 'debugger's icon, but Button use 'invert's icon.

      i.e. same 'icon.name' result in different icon for ToolButton and Button.

        1. testicon.tar.gz
          4 kB
          niqingliang2003
        2. Screenshot_20200110_102239.png
          19 kB
          niqingliang2003
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            niqingliang2003 niqingliang2003
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes