-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.7.0
-
None
This is upstream of KDE bug: https://bugs.kde.org/show_bug.cgi?id=367850
Qt sets window type NET_WM_TYPE_NORMAL on dropdown menus.
Steps to reproduce:
1. Open a Qt 5 based application (e.g. kwrite)
2. open the menu
3. get xprop of the menu
See that it's NET_WM_TYPE_NORMAL and not the special type for dropdown menus.
Output of xprop and xwininfo:
DISPLAY=:2 xprop -id 6291475
_NET_WM_USER_TIME(CARDINAL) = 40196817
WM_TRANSIENT_FOR(WINDOW): window id # 0x600005
_KDE_NET_WM_SHADOW(CARDINAL) = 6291477, 6291479, 6291480, 6291481, 6291482, 6291483, 6291484, 6291485, 4, 10, 10, 4
_NET_WM_ICON_NAME(UTF8_STRING) =
_NET_WM_ICON(CARDINAL) = Icon (16 x 16):
░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░░░░░░░░░░░░
░░░░░░░░░░░░
Icon (22 x 22):
░░░░░░░░░░░░░░░░
░ ░
░ ░
░ ░
░ ░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░
Icon (32 x 32):
░░░░░░░░░░░░░░░░░░░░░░░░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░
░ ░░
░ ░░
░ ░░
░ ░░
░ ░░
░░ ░░ ░░
░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░
░░░░
Icon (48 x 48):
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░ ░░
░░ ░░
░░ ░░
░░ ░░
░░ ░░
░░ ░░
░░ ░░
░░ ░░
░░ ░░ ░░░ ░░░░░ ░░░░░░ ░░░ ░░ ░░
░░ ░░
░░ ░░░░ ░░ ░░░░░░░░░ ░░░░░░ ░░░ ░░
░░ ░░
░░ ░░
░░ ░░
░░ ░░ ░░░ ░░░░░░ ░░░░ ░░ ░░░░░ ░░
░░ ░░
░░ ░░ ░░░░░ ░░░ ░ ░░░░░ ░░░ ░░░ ░░
░░ ░░
░░ ░░
░░ ░░
░░ ░░░░░░ ░░░ ░░░ ░░░ ░░░░░ ░ ░░
░░ ░░
░░ ░░░░░ ░░░░░ ░░░░░ ░░░ ░░░ ░ ░░
░░ ░░
░░ ░░ ░░
░░ ░░
░░ ░░░░ ░░░░ ░░░░ ░░ ░░ ░░
░░ ░░
░░ ░░░ ░ ░░░░ ░░░ ░░░░░ ░░
░░ ░░
░░ ░░
░░ ░░
░░ ░░
░░ ░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Icon (64 x 64):
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░ ░░░ ░░░░░░ ░░░░░░░░ ░░░ ░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░ ░░░ ░░░░░░░ ░░░░ ░░ ░░░░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░░░░░ ░░░ ░░░░ ░░░ ░░░░░░ ░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░░ ░░░░░ ░░░░░ ░░ ░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░ ░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Icon (128 x 128):
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░ ░░░░░░░ ░░░░░░░░░░░░ ░░░░░░░░░░░░░░░░ ░░░░░░░ ░░░░ ░░░░░
░░░░░ ░░░░░ ░░░░░░░ ░░░░░░░░░░░░ ░░░░░░░░░░░░░░░░ ░░░░░░░ ░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░░░░░░ ░░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░░ ░░░░░░░ ░░░░░
░░░░░ ░░░░░░░░░░ ░░░░░ ░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░░ ░░░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░ ░░░░░░░ ░░░░░░░░░░░░░░░ ░░░░░░░░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░
░░░░░ ░░░░░ ░░░░░░░ ░░░░░░░░░░░░░░░ ░░░░░░░░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░░░ ░░ ░░░░░░░░░░░░░ ░░░░░░░ ░░░░░░░ ░░░░░
░░░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░░░ ░░ ░░░░░░░░░░░░░ ░░░░░░░ ░░░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░░░░░░░░░░░ ░░░░░░░ ░░░░░░░░ ░░░░░░░ ░░░░░░░░░░░░ ░░ ░░░░░
░░░░░ ░░░░░░░░░░░░░░░ ░░░░░░░ ░░░░░░░░ ░░░░░░░ ░░░░░░░░░░░░ ░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░░░ ░░░░░░░ ░░░░░░░ ░░ ░░░░░
░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░░░ ░░░░░░░ ░░░░░░░ ░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░
░░░░░ ░░░░░ ░░░░░
░░░░░ ░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░░░░░ ░░░░░░░░░░ ░░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░░
░░░░░ ░░░░░░░░░░ ░░░░░░░░░░ ░░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░░ ░░ ░░░░░░░░░░ ░░░░░░░░ ░░░░░░░░░░░░░ ░░░░░░
░░░░░ ░░░░░░░ ░░ ░░░░░░░░░░ ░░░░░░░░ ░░░░░░░░░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░ ░░░░░░
░░░░░░ ░░░░░░░░░░ ░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░
░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) =
_NET_WM_NAME(UTF8_STRING) = "KWrite"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x7e, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x600007
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
_NET_WM_PID(CARDINAL) = 11279
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 6291476
WM_CLASS(STRING) = "kwrite", "kwrite"
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified location: 0, 59
user specified size: 272 by 380
window gravity: Static
martin@martin-yoga:~$ DISPLAY=:2 xwininfo -id 6291475
xwininfo: Window id: 0x600013 "KWrite"
Absolute upper-left X: 0
Absolute upper-left Y: 59
Relative upper-left X: 0
Relative upper-left Y: 59
Width: 272
Height: 380
Depth: 32
Visual: 0x45
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x600012 (not installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: yes
Map State: IsViewable
Override Redirect State: yes
Corners: +0+59 -752+59 -752-329 +0-329
-geometry 272x380+0+59
- is duplicated by
-
QTBUG-39887 Regression bug: QWidget::setAttribute() does not set Qt::WA_X11NetWmWindowType in Qt 5.
-
- Closed
-