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

Freeze when quickly hovering flat, disabled Imagine style buttons

    XMLWordPrintable

Details

    Description

      Apply the following patch to qtdeclarative:

      diff --git a/tests/manual/quickcontrols2/testbench/ControlContainer.qml b/tests/manual/quickcontrols2/testbench/ControlContainer.qml
      index 34688fb7dd..08d8190eed 100644
      --- a/tests/manual/quickcontrols2/testbench/ControlContainer.qml
      +++ b/tests/manual/quickcontrols2/testbench/ControlContainer.qml
      @@ -8,6 +8,7 @@ Item {
       
           implicitWidth: delegate.implicitWidth
           implicitHeight: delegate.implicitHeight
      +    enabled: false
       
           property var controlMetaObject
           property var states
      
      

      Then, run the test with QT_QUICK_CONTROLS_STYLE=Imagine and quickly move the mouse over the flat Buttons. The application should freeze while doing this.

      I don't have a release build handy, but for what it's worth, this is where Instruments shows the majority of the time being spent:

      Attachments

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: