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

OSX: Pressing Command + W does not close any window with a QLineEdit or QTextEdit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • Some future release
    • 5.3.0, 5.4.0 RC
    • QPA
    • None
    • Mac OSX only
    • macOS

    Description

      • Create a QWidget project in QtCreator
      • Throw a QLineEdit or a QTextEdit into the main .ui file
      • Run and press Command + w

      ==========> The window will not close and a 'w' will appear in the edit box.

      It seems that Qt checks for a series of QKeySequences during a key handling loop. If the key combination is none of those QKeySequences, it is just interpreted as a key press. In Qt4, the window would have closed.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            jrsanders77 Joshua Ryan Sanders
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes