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

QMenu::item with icon styling is wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 5.12.4, 5.13.0
    • Widgets: Style Sheets
    • None
    • Windows

    Description

      The icon in the menu item with an icon is supposed to replace the "tick" check indicator, when an icon is set. This is the case when editing the menus in Qt Creator. However, once the application is run, the icon is displayed under the text for the menu with a stylesheet and the "tick" appears. The menu without a stylesheet is correct.

       

      This is the case with Qt 5.13 and Qt 5.12.4. It however, works as expected with Qt 5.9.0 and 5.6.2

      Attachments

        1. NoStyle-Good.GIF
          NoStyle-Good.GIF
          4 kB
        2. Qt5.12.0-Bad.GIF
          Qt5.12.0-Bad.GIF
          3 kB
        3. Qt5.13 - Bad.GIF
          Qt5.13 - Bad.GIF
          3 kB
        4. Qt5.9.0-Good.GIF
          Qt5.9.0-Good.GIF
          3 kB
        5. QtCreator5.13 - Good.GIF
          QtCreator5.13 - Good.GIF
          8 kB
        6. QtMenuStylesheetBug.zip
          18 kB
        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
            pro-micron Steffen Mazur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes