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

Text in QMenu items isn't always rendered correctly when using a QLabel in QProxyStyle (Regression)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • 5.9.4
    • 5.7.0, 5.7.1, 5.8.0, 5.9.1
    • Widgets: Styles
    • None
    • Windows 10, macOS but probably in different ways.

    Description

      The items in a menu aren't visible until I hover them when the text is rendered with a QLabel (text rendered in QProxyStyle::drawControl). This doesn't happen if I open the menu and hover the items slowly.

      The project attached works with Qt 5.6.2 but is broken with Qt 5.7.0+

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            mgenessegrenier Mathieu Genesse-Grenier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes