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

Smarter mouse motion event compression in Qt

    XMLWordPrintable

    Details

    • Platform/s:
      All

      Description

      QTBUG-44964 added AA_CompressHighFrequencyEvents, but it is not a very good solution as applications frequently do not want to process events at full frequency, but would like to receive information about the full motion of the mouse pointer. The solution is to compress the delivery of mose motion events, but include information about the compressed motion events by adding API like this:

      class QMouseEvent : public QInputEvent {
      public:
          ...
          QList<QPoint> compressedPositions();
          QList<QPoint> compressedGlobalPositions();
          ...
      };
      

      I suggested the same in a comment on QTBUG-44964 but since it could not easily be added without breaking the ABI, it never got any further. I am adding this issue now to have it considered for Qt 6.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                srutledg Shawn Rutledge
                Reporter:
                ts Thomas Sondergaard
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes