Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Strange Behaviour - Control Behaviour is set when moving mouse wheel

Strange Behaviour - Control Behaviour is set when moving mouse wheel

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 319 Views
  • 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 Offline
    M Offline
    magicstar
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • SGaistS SGaist

        Hi,

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

        M Offline
        M Offline
        magicstar
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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
          0
          • M Offline
            M Offline
            magicstar
            wrote on last edited by magicstar
            #5

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

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              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
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved