Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.5
-
None
-
RHEL 8.3
Description
When using a custom Window Manager that manages application visibility by using XMapWindow/XUnmapWindow calls, QT5 apps are receiving the XCB Event, minimizing and restoring the window, but NOT generating the QHideEvent and QShowEvents, so the hideEvent and showEvent functions are not being invoked.
This can be reproduced on the Gnome Desktop running on RHEL 8.3 by using the xdotool test application to send Map and Umap events.
I have included a set of simple test apps to show the issue. One is for QT4, which behaves as expected (we get the QHideEvent and QShowEvent) and one is for QT5, which shows the undesired behavior.