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.