Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.6.3, 4.8.3, 5.0.0 Beta 1
-
Mac OS X 10.5.8, Qt 4.6.3, Cocoa 32-bit
-
468a37fa2053f91dd64c182b834dc636ff77c7cc
Description
QDialog::keyPressEvent looks for Cmd-Period on the Mac, treating it as a shortcut to invoke reject(), as per Escape.
However this keystroke is special-cased by Cocoa, and is never sent directly to applications (so will never be received by QCocoaView:keyDown).
Instead QCocoaView needs to handle cancelOperation: to catch this action, and probably process it by generating a synthetic Cmd-Period keystroke.
Attachments
Issue Links
- resulted in
-
QTBUG-34039 [REG] Mac OS: Key_Period not firing
-
- Closed
-
For Gerrit Dashboard: QTBUG-11386 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
57124,5 | Support Mac key equivalent Cmd+Period | stable | qt/qtbase | Status: MERGED | +2 | 0 |
57144,1 | Support Mac key equivalent Cmd+Period | stable | qt/qtbase | Status: ABANDONED | 0 | 0 |
58454,1 | Support Mac key equivalent Cmd+Period | release | qt/qtbase | Status: ABANDONED | 0 | 0 |