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

QKeyEvent::matches() to recognize different keyboard layouts.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 4.7.0, 4.7.1, 4.7.2, 4.7.3, 4.7.4, 4.8.0, 4.8.1
    • None
    • Linux, Win, Mac

    Description

      For example QKeyEvent::matches(QKeySequence::ZoomIn) returns false if USA keyboard layout is used to enter the ZoomIn sequence
      Ctrl+ | +. USA layout brings along the shift modifier, as it has + and = on the same key, forcing the ZoomIn sequence to be
      Ctrl | Shift | + thus "failing" the QKeyEvent::matches() function.

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              qtcomsupport Qt Support
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes