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

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

      • 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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes