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

Add support for simulating mouse wheel events in QTest

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 5.11.2
    • Fix Version/s: None
    • Component/s: Testing: qtestlib
    • Labels:
      None
    • Platform/s:
      All

      Description

      QTest has functionality to simulate mouse clicks and movements but there is no way to simulate mouse wheel events. Looking at documentation (http://doc.qt.io/qt-5/qtest.html#details) there is not a single mention of "wheel" anywhere.

       

      Suggestion is to add this basic functionality to QTest.

       

      This has been requested recently (https://stackoverflow.com/questions/50996997/how-to-simulate-mouse-wheel-events-using-qtestlib-qt5) and as far back as 10 years ago, in  2008 (https://www.qtcentre.org/threads/13436-Wheel-and-QTest).

      Today this request was made formal.

      NOTE: If there is a misunderstanding that this functionality is in fact available, then the documentation should be updated on how to do it!

       

       

        Attachments

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

          Activity

            People

            Assignee:
            macadder Jason McDonald
            Reporter:
            lennartrolland@gmail.com Lennart Rolland
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes