<AWT Dev> [9] Review request for 8012224: AWT_TopLevels/TopLevelEvents/Automated/WindowIconifyDeiconifyEventsTest02 fails on Ubuntu 12.04 Unity shell

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Wed Mar 5 15:45:43 UTC 2014


Hello AWT team,

please review fix
http://cr.openjdk.java.net/~azvegint/jdk/9/8012224/00/
for
https://bugs.openjdk.java.net/browse/JDK-8012224

X FAQ[1] says:

Subject: 141)  How do I deiconify a window?

To de-iconify a window, map it with XMapWindow().  To iconify a window, use
XIconifyWindow().

Unfortunately it does not work with compiz/Unity, I've found several 
reported issues [2] [3] [4] with similar synopsis.

EMWH provide another way to deiconify window: send a 
_NET_ACTIVE_WINDOW[5] client message.

Actually, there is no need to call XMapRaised(If _NET_ACTIVE_WINDOW is 
supported), but I left it as it is, since it doesn't hurt.

[1] http://ftp.x.org/contrib/faqs/FAQ
[2] https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/369954 
XRaiseWindow not working
[3] https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1067886 xwit 
cannot de-iconify window
[4] https://bugs.launchpad.net/unity/+bug/932580 Application window not 
responsive when iconified
[5] http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2731082

-- 
Thanks,

Alexander.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20140305/cb592247/attachment.html 


More information about the awt-dev mailing list