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

Reg [4.8-5.2] Progressbar doesn't animate on Windows 7 Classic theme

    XMLWordPrintable

Details

    • fe6eeab5618d9f42929872faff94dacdc0890fd2 (qtbase/5.5, 26.5.2015, 5.5)

    Description

      Change Windows 7 theme to Classic and run attached example. Start progress in application from the start button. See that progressbar doesn't animate. It works on on Qt 4.8.6. But not in Qt 5.2.1-5.4.1.

      Workaround is to force style to "Windows" which is the same than default Classic theme.
      qApp->setStyle("Windows");

      Relevant commits: "Introduce (private) QStyleAnimation" 7501d55ae005cf9a155a6bcbeac468bfde40177d, https://codereview.qt-project.org/#/c/36369/

      Attachments

        1. qtbug46308_classic.jpg
          14 kB
          Friedemann Kleint
        2. qtbug46308_vista.jpg
          14 kB
          Friedemann Kleint
        3. qtbug46308.zip
          1 kB
          Friedemann Kleint
        4. QTBUG-46308.zip
          2 kB
          Qt Support
        For Gerrit Dashboard: QTBUG-46308
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes