Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12
-
None
-
f30bf5fbd58c3fd67a98a1c759b63f24fbab8a41
Description
QDockWidget::setTitleBarWidget can prevent shortcuts from working. It happens if a dock widget has a QGraphicsView, for instance.
An example has been attached where shortcut Qt::Key_1 will trigger message dialog. However, if one clicks on the red item in the graphics view (inside a dock widget), the shortcut cannot be activated afterwards.
Attachments
For Gerrit Dashboard: QTBUG-70596 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
240342,2 | Fix shortcuts in dock widgets with custom title bar | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |