Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.0.2
-
None
-
Mac OS X
-
Change-Id: Idd451fb793bd07124a96d75ed7b936f7ff584f28
Description
Following example asserts on Mac, when using Spanish ISO keyboard layout and trying to type "{" character.
class MainWindow : public QWidget { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); protected: }; MainWindow::MainWindow(QWidget *parent) : QWidget(parent) { QVBoxLayout *layout = new QVBoxLayout(this); QPushButton *fiveButton = new QPushButton("5"); QTextEdit *edit = new QTextEdit; layout->addWidget(fiveButton); layout->addWidget(edit); fiveButton->setShortcut(QKeySequence(Qt::Key_5)); } int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); return a.exec(); }
Attachments
Issue Links
- is required for
-
QTBUG-29005 Problem writing "{" character on code editor
-
- Closed
-
- relates to
-
QTBUG-50772 Key event and shortcut handling cleanup
-
- Closed
-
For Gerrit Dashboard: QTBUG-30871 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
54788,1 | Fix dead key handling on Cocoa platform plugin | stable | qt/qtbase | Status: ABANDONED | -1 | 0 |
55468,3 | Fix the assert failure in QShortcutMap::find | dev | qt/qtbase | Status: MERGED | +2 | 0 |
69303,1 | Fix the assert failure in QShortcutMap::find | 4.8 | qt/qt | Status: MERGED | +2 | 0 |