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. Unexpected SHIFT key events
Qt 6.11 is out! See what's new in the release blog

Unexpected SHIFT key events

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 878 Views 3 Watching
  • 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.
  • idlefrogI Offline
    idlefrogI Offline
    idlefrog
    wrote on last edited by idlefrog
    #1

    Hi all, I've got an event filter that's monitoring keystrokes. When I type some characters such as 'A', 'B', 'C', or whatever letter of the alphabet, I get KeyPress events that have the keyEvent->key() value of Qt::Key_Shift.
    I'm not pressing shift, and my keyboard is working fine.
    What could possibly be making these rogue shift key events?
    What's the best way to hunt down this error?

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

      Hi,

      Might be a silly question but do you have Caps Lock activated ?

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

      idlefrogI 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Might be a silly question but do you have Caps Lock activated ?

        idlefrogI Offline
        idlefrogI Offline
        idlefrog
        wrote on last edited by
        #3

        @SGaist Haha.. umm... I wish! I suspect somewhere elsewhere I have a naughty bug.

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

          Any event filter installed ?

          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
          • idlefrogI idlefrog

            Hi all, I've got an event filter that's monitoring keystrokes. When I type some characters such as 'A', 'B', 'C', or whatever letter of the alphabet, I get KeyPress events that have the keyEvent->key() value of Qt::Key_Shift.
            I'm not pressing shift, and my keyboard is working fine.
            What could possibly be making these rogue shift key events?
            What's the best way to hunt down this error?

            artwawA Offline
            artwawA Offline
            artwaw
            wrote on last edited by
            #5

            @idlefrog what is your environment? I mean OS, Qt kit?

            For more information please re-read.

            Kind Regards,
            Artur

            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