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

ToolButton use wrong icon

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes