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

radiobutton labels don't get rendered when using common style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • Some future release
    • QPA: Direct2D
    • None
    • Windows7, Direct2D QPA, MSVC2012

    Description

      Run examples/widgets/widgets/styles with Norwegian wood and XP style you will notice the radio buttons missing text from currently selected item.
      Both styles run common style code where we end up with a pen only having brush color and that leads our text drawing code to bail out. Some reminiscent of glyph outlines perhaps.

       
      void QWindowsDirect2DPaintEngine::drawTextItem(const QPointF &p, const QTextItem &textItem)
              if (qpen_style(d->pen.qpen) == Qt::NoPen)
                 return;
      

      There is another bug where text is not getting rendered in that example, but that seems to be about clipping.

      Attachments

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

        Activity

          People

            e0150566 Janne Roine
            e0150566 Janne Roine
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes