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

QGestureManager eventFilter is slow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 4.6.1
    • 4.6.0
    • Other
    • None
    • 1f4a4cca0067b1d4a9784f00e41c3fc1aca1f712

    Description

      It appears that QGestureManager::filterEventThroughContexts() is called for every event, and does considerable processing for every event. Surely it is only necessary to do processing for certain event types and can return early for the vast majority of events.

      According to callgrind, using a simple QML application, 17% of instructions are spent in this function.

      Attachments

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

        Activity

          People

            dzyubenk Denis Dzyubenko (Inactive)
            martjone Martin Jones (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes