Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Strange Behaviour - Control Behaviour is set when moving mouse wheel

    General and Desktop
    2
    6
    116
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      magicstar last edited by

      Hello,

      I have created a dialog which has 2 horizontal sliders and some other widgets. I want to disable default mouse wheel behaviour on sliders and handle mouse wheel event through eventFilter.

      However, I see strange behaviour. When I am moving mouse wheel, control modifier is getting set.
      I am not sure why it is happening .

      Does anyone know solution to this problem ?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        What version of Qt are you using ?
        What OS are you running ?
        What kind of mouse is that ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        M 1 Reply Last reply Reply Quote 0
        • M
          magicstar @SGaist last edited by

          @SGaist
          Qt version 5.12.0
          OS - windows 10
          mouse - The issue is coming with Dell laptop touchpad.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Do you have the same behaviour with an USB mouse ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • M
              magicstar last edited by magicstar

              @SGaist , No. The issue is not coming with USB mouse.

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                Then it might be something that is specific to your mousepad driver.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post