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

QStaticText does not honor QPainter::pen() for rich text on X11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.7.2
    • 4.7.0
    • GUI: Text handling
    • None
    • 4d8adcd20af9f346d69c9da9e49c9b3cc8a10710

      When drawing rich text that does not explicitly set the text color, QStaticText should use the pen set on the painter. On X11 this does not happen, and the text color defaults to black. This is a platform regression, as the painter's pen is honored on Windows.

      It can be worked around by setting the font color in the HTML describing the rich text instead.

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

            esabraha Eskil Abrahamsen Blomfeldt
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes