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

QPlainTextEdit ignores the Cmd modifier on OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.3.1
    • None
    • OS X 10.9.4
    • macOS

    Description

      On OS X holding down the Cmd key and typing a text key, for example Cmd+k causes k to be added to the text. This is a regression from Qt 4. Simple PyQt test script is attached, run it, Type Cmd+K.

      Workaround is to override keyPressEvent and reject key events that have the Cmd modifier and text content, but this is less than optimal it has the potential to interfere with copy/paste shortcuts.

      Attachments

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              kovid Kovid Goyal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes