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

setStyleSheet may block main thread a long time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.10, 5.12.11
    • Widgets: Style Sheets
    • None
    • win7, win10
    • Windows

    Description

      I use qApp->setStyleSheet to change skin.The style sheet is read from resource,about 300KB before compressed.

      In 5.12.5,callĀ qApp->setStyleSheet take effect quickly.But in 5.12.10, it will block 5~8s, during this time, program has no response.The problem aslo appear in 5.12.11.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            fmt Fros Mourne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes