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

[REG 4.8.6->5.0.0] QScrollBar emits valueChanged twice if slot takes too much time

XMLWordPrintable

    • 1c1cce67fa1d03a49cdfb6f1ca378b182925ffdb

      Attached application simulates some heavy processing by using Sleep(1000) and it causes double valueChanged signal.

      Steps:
      -Build and run the example application
      -Press scrollbar to right once
      -Close the application and check the hit count(printed via qDebug)

      Actual result:
      -Hit count is 2

      Expected result:
      -Hit count is 1

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

            peppe Giuseppe D'Angelo
            kehayryn Keijo Hayrynen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes