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

QActions do not paint their svg-icon in a menu on macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.6.3, 5.7.2, 5.8.0 RC
    • Component/s: GUI: Painting
    • Labels:
      None
    • Environment:
      macOS 10.11, Qt 5.6.0, Xcode 10.10
    • Platform/s:
      macOS
    • Commits:
      d8857f21ac2640215177b9cb7bb681b74bc66068

      Description

      Having a QAction with an svg-icon put to a menu in a QMainWindow will not draw the icon in the menu on a mac.

      To reproduce this I just loaded your application-example, added a new file jobmanager.svg to the resource and exchanged the "save.png" occurence against 'jobmanger.svg'. The svg-icon is drawn in the toolbutton but not in the menu – added a screenshot.

        Attachments

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

          Activity

            People

            Assignee:
            andysh Andy Shaw
            Reporter:
            lsideveloper Artur Möller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes