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

Menu icons are not displayed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.4
    • None
    • Fedora 30: MATE (X11) & GNOME (X11 & Wayland)
    • Linux/Wayland, Linux/X11

    Description

      I am not sure if this is a bug or I am missing something. Anyway, icons on toolbar work OK, while on menu bar they don't display at all.

      I've tried explicitly set QtCore.Qt.AA_DontShowIconsInMenus to False as well as set IconVisibleInMenu to True, but it doesn't help.

      It doesn't matter what icon theme is used (Adwaita, Breeze, GNOME, Mist) - they are all affected (Fedora 30: MATE & GNOME).

      If I good remember, Qt 5.11 on Flatpak (KDE 5.11) on MATE on Fedora 30 is not affected, while Qt 5.12 on Flatpak (KDE 5.12) on MATE on Fedora 30 is affected.

      Qt 5.9 on RHEL 7 (MATE) is not affected by this issue.

      Originally, I hit this issue with Notepadqq 1.9.99.

       

      Sample code:

      https://pastebin.com/raw/v6e7SpfF

       

       

      Attachments

        1. icons.py
          2 kB
          Tomasz Tomasik
        2. MATE_Settings_1.png
          20 kB
          Tomasz Tomasik
        3. MATE_Settings_2.png
          25 kB
          Tomasz Tomasik
        4. Py3Qt5_Icons_1.png
          5 kB
          Tomasz Tomasik
        5. Py3Qt5_Icons_2.png
          7 kB
          Tomasz Tomasik
        6. Py3Qt5_Icons_gtk2_1.png
          5 kB
          Tomasz Tomasik
        7. Py3Qt5_Icons_gtk2_2.png
          10 kB
          Tomasz Tomasik
        8. Py3Qt5_Icons_gtk3_1.png
          5 kB
          Tomasz Tomasik
        9. Py3Qt5_Icons_gtk3_2.png
          7 kB
          Tomasz Tomasik
        10. Py3Qt5_Icons_KDE_1.png
          7 kB
          Tomasz Tomasik
        11. Py3Qt5_Icons_KDE_2.png
          9 kB
          Tomasz Tomasik
        12. Py3Qt5_Icons_qt5ct_1.png
          7 kB
          Tomasz Tomasik
        13. Py3Qt5_Icons_qt5ct_2.png
          11 kB
          Tomasz Tomasik
        14. systemsettings5_gtk.png
          163 kB
          Tomasz Tomasik
        15. systemsettings5_icons.png
          250 kB
          Tomasz Tomasik
        16. systemsettings5_qt.png
          116 kB
          Tomasz Tomasik
        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
            scx Tomasz Tomasik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes