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

It seems qttabbar.cpp bug with animation!!!

    XMLWordPrintable

Details

    • 29bb28d52305a7a47759cf9bb8395e2132bf68bc

    Description

      It seems in qttabbar.cpp bug with animation!!!

      Virtual method updateState receives first(not second) parameter is newState!!!

      But in qtabbar.cpp mistake - second parameter named as "newState" and used as new state logic - but in real it means old state!!!!

      .....
      void QTabBarPrivate::Tab::TabBarAnimation::updateState(QAbstractAnimation::State, QAbstractAnimation::State newState)
      {
          if (newState == Stopped) priv->moveTabFinished(priv->tabList.indexOf(*tab));
      }
      ....
      

      Attachments

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

        Activity

          People

            chehrlic Christian Ehrlicher
            fsmoke Dmitriy Kostromin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes