-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.1, 5.6.0 Beta
-
Desktop Linux
-
17d68c4fc371c32bd58d0a94ac63f0170edaf29e
http://doc.qt.io/qt-5/qt.html#WidgetAttribute-enum contains Qt::WA_X11NetWmWindowType*, but they don't work in Qt5 and Qt/5.5/Src/qtbase/src/widgets/kernel/qwidget.cpp contains them like:
#ifdef Q_DEAD_CODE_FROM_QT4_X11
case Qt::WA_X11NetWmWindowTypeDesktop:
case Qt::WA_X11NetWmWindowTypeDock:
case Qt::WA_X11NetWmWindowTypeToolBar:
case Qt::WA_X11NetWmWindowTypeMenu:
case Qt::WA_X11NetWmWindowTypeUtility:
case Qt::WA_X11NetWmWindowTypeSplash:
case Qt::WA_X11NetWmWindowTypeDialog:
case Qt::WA_X11NetWmWindowTypeDropDownMenu:
case Qt::WA_X11NetWmWindowTypePopupMenu:
case Qt::WA_X11NetWmWindowTypeToolTip:
case Qt::WA_X11NetWmWindowTypeNotification:
case Qt::WA_X11NetWmWindowTypeCombo:
case Qt::WA_X11NetWmWindowTypeDND:
if (testAttribute(Qt::WA_WState_Created))
d->setNetWmWindowTypes();
break;
#endif
so they are not used and also not used in qwindow.cpp.
- duplicates
-
QTBUG-39887 Regression bug: QWidget::setAttribute() does not set Qt::WA_X11NetWmWindowType in Qt 5.
-
- Closed
-