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

QStyleOptionProgressBar does not draw text on Mac OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.3.1, 5.5.1
    • None
    • Mac OS 10.7 to 10.11
    • macOS

    Description

      The text is not draw on Mac OS X, even textVisible is set to true.

      I'm using QStyleOptionProgressBar in my software with QApplication::style()->drawControl(QStyle::CE_ProgressBar, &progressBarOption, painter), but text never appears whatever options I use.

      I then tested the Torrent Example that also contains a custom drawing progress bar to realise it doesn't draw the text either (http://qt-project.org/doc/qt-5/qtnetwork-torrent-example.html).

      On Windows, the text is draw properly. It might be broken since first version of Qt 5.

      Attachments

        Issue Links

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

          Activity

            People

              sletta Gunnar Sletta
              johnlamericain Jonathan Courtois
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes