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

QKeyEvent::text() should not return empty strings on macOS with Ctrl and Meta (Command) modifers

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9.3
    • QPA
    • None
    • macOS

    Description

      While documentation says that "Return values when modifier keys such as Shift, Control, Alt, and Meta are pressed differ among platforms and could return an empty string.", it would be useful if Cocoa integration could return text that corresponds to key(). This would automatically fix bugs in existing code, like QTBUG-64300.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              annulen Konstantin Tokarev
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes