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

progress bar is not painted correctly on ItemDelegate when using drawControl(QStyle::CE_ProgressBar, ...)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      macOS 10.14.2
      Xcode 10.1
    • Platform/s:
      macOS

      Description

      progress bar is painted in incorrect place when painting item delegate. only macOS style is affected. Drawing progress bar in style "Fusion" fixes the issue. see attached screenshots.

      small app reproducing this issue also attached.

        Attachments

        1. pb-fix.patch
          1 kB
        2. progressbar_delegate.zip
          4 kB
        3. Screenshot 2018-12-14 11.48.50.png
          Screenshot 2018-12-14 11.48.50.png
          221 kB
        4. Screenshot 2018-12-14 11.49.20.png
          Screenshot 2018-12-14 11.49.20.png
          247 kB
        5. Screenshot 2018-12-15 14.42.52.png
          Screenshot 2018-12-15 14.42.52.png
          226 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                bibr Andreas Aardal Hanssen
                Reporter:
                nick-korotysh Nick Korotysh
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes