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

Details

    • 1c1cce67fa1d03a49cdfb6f1ca378b182925ffdb

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes