Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.3
-
None
-
-
7ffa6f1dd (dev), c78963023 (6.9), e8d28ae00 (6.8)
Description
In order to display custom popups that behave like QMenus but have different contents, it used to be possible to add widgets to a QMenu the normal way (i.e. within a layout). This no longer works in Qt 6.8.3, likely because of this commit:
https://github.com/qt/qtbase/commit/353ce5344fbde5a6cecbdd2c131e1cf0f4b7f383
Wrapping the content in a QWidgetAction works, but this requires changes to application code.
Attachments
For Gerrit Dashboard: QTBUG-135933 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
639603,3 | QMenu: show when QWidget::childrenRect is not empty | dev | qt/qtbase | Status: MERGED | +2 | 0 |
639645,2 | QMenu: show when QWidget::childrenRect is not empty | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
640393,2 | QMenu: show when QWidget::childrenRect is not empty | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |