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

QGtkStyle doesn't render the icon for active menus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.7.2
    • GUI: Look'n'Feel
    • None
    • Ubuntu 11.04, Qt 4:4.7.2-0ubuntu6.1

      When QGtkStyle is used to render a QMenuBar, menus with an icon are not rendered correctly when active (i.e. when the state of the corresponding QStyleOptionMenuItem is QStyle::State_Selected | QStyle::State_Sunken): the icon is not rendered at all.

      I'm attaching a minimal code example that reproduces the issue. Compile and run with `./test -style gtk`.

        1. test.cpp
          0.3 kB
          Olivier Tilloy
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            osomon Olivier Tilloy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes