JDK-8038831 : Linux: X11GraphicsDevice.setFullScreenWindow() doesn't work in exclusive mode
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • Submitted: 2014-03-31
  • Updated: 2014-08-26
  • Resolved: 2014-08-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Description
	if (gd.isFullScreenSupported()) {
	    gd.setFullScreenWindow(frame);
	}
this code only maximizes window. This issue can be reproduced on a reparenting window manager.

From X11GD_SetFullscreenMode(), awt_GraphicsEnv.c:1793  

    /*
     * Note: the Window passed to this method is typically the "content
     * window" of the top-level, but we need the actual shell window for
     * the purposes of constructing the XEvent.  Therefore, we walk up the
     * window hierarchy here to find the true top-level.
     */

But since our frame window is not a direct child of a root window, we sending client event with wrong window.

So we should find another way to determine a "top-level" window.

[1] http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.1





Comments
http://cr.openjdk.java.net/~azvegint/jdk/9/8038831/00/
01-04-2014