Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.1
-
None
-
Ubuntu Linux and ArchLinux, Qt 5.3, X11, LXQt desktop environment, openbox window manager.
-
17d68c4fc371c32bd58d0a94ac63f0170edaf29e, 29b076d61 (dev), 7864c01c7 (6.6), 78f628971 (tqtc/lts-6.2), 2e8a0b096 (6.5), bedacaec1 (tqtc/lts-5.15)
Description
According to the API doc, passing Qt::WA_X11NetWmWindowTypes to QWidget::setAttribute() should set proper NETWM states when in X11. This used to work in Qt 4.8, but it has no effect in Qt5 when I'm using XCB backend.
I checked the source code of Qt 5 and it seems that code related to this feature is actually removed.
This feature need to be implemented in the xcb backend.
Attachments
Issue Links
- duplicates
-
QTBUG-55558 Menus have window type _NET_WM_WINDOW_TYPE_NORMAL instead of _NET_WM_WINDOW_TYPE_DROPDOWN_MENU
- Closed
- is duplicated by
-
QTBUG-50190 Qt::WA_X11NetWmWindowType* should be removed from documentation since it is not used
- Closed
-
QTBUG-47043 QMenu sets _NET_WM_WINDOW_TYPE to _NET_WM_WINDOW_TYPE_NORMAL (or nothing) should be _NET_WM_WINDOW_TYPE_POPUP_MENU
- Closed
- resulted in
-
QTBUG-116696 Menus have window type _NET_WM_WINDOW_TYPE_NORMAL instead of _NET_WM_WINDOW_TYPE_POPUP_MENU
- Closed