From 283d9b01dc3ab6c95c688b0e5f5c98c41ca22d30 Mon Sep 17 00:00:00 2001 From: JiDe Zhang Date: Sat, 1 Jun 2019 16:56:49 +0800 Subject: xcb: Fix logic for minimized state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When _NET_WM_STATE_HIDDEN is not contains in the _NET_WM_STATE window property, the window should not be considered to be minimized According to https://specifications.freedesktop.org/wm-spec/1.3/ar01s05.html _NET_WM_STATE_HIDDEN should be set by the Window Manager to indicate that a window would not be visible on the screen if its desktop/viewport were active and its coordinates were within the screen bounds. The canonical example is that minimized windows should be in the _NET_WM_STATE_HIDDEN state. Pagers and similar applications should use _NET_WM_STATE_HIDDEN instead of WM_STATE to decide whether to display a window in miniature representations of the windows on a desktop. For mutter/GNOME Shell, without _NET_WM_STATE_HIDDEN, window manager will not reply XCB_ICCCM_WM_STATE_ICONIC settings in WM_CHANGE_STATE client message. Task-number: QTBUG-76147 Task-number: QTBUG-76354 Task-number: QTBUG-68864 Done-With: Liang Qi Change-Id: Ic9d26d963979b7f0ef4d1cf322c54ef8c40fa004 Reviewed-by: Uli Schlachter Reviewed-by: Tor Arne Vestbø (cherry picked from commit 4f370d36ec5caa02f78545ceee5704d94edf0530) --- tests/auto/widgets/kernel/qwidget_window/BLACKLIST | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests') diff --git a/tests/auto/widgets/kernel/qwidget_window/BLACKLIST b/tests/auto/widgets/kernel/qwidget_window/BLACKLIST index 934f2e8025..ec331474fa 100644 --- a/tests/auto/widgets/kernel/qwidget_window/BLACKLIST +++ b/tests/auto/widgets/kernel/qwidget_window/BLACKLIST @@ -3,6 +3,3 @@ opensuse-42.3 ubuntu-16.04 ubuntu-18.04 -[setWindowState] -ubuntu-18.04 -rhel -- cgit v1.2.3