JDK-8080141 : Ubuntu 14.04 Gnome 3 and fullscreen AWT window
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8,9
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: linux_ubuntu
  • Submitted: 2015-05-12
  • Updated: 2015-06-24
  • Resolved: 2015-06-24
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
Relates :  
Description
Run the attached small test on an Ubuntu 14.04 (which is latest LTS released) with Gnome 3 which is not default though.
All it attempts to do is, just create, show and make fullscreen a Frame. Exit after 3 seconds. 
No fullscreen window will be visible.
It works well on Unity but not on Gnome 3.
Fast clicking on Activity button in the north-west corner would show you this application with apparently fullscreen  Frame as if existing somewhere but never available.

Comments
It is a gnome shell issue, it iconifies a fullscreen window without focus[0]. They had decided to remove this "feature" [1], so there is no reason to fix this on JDK side, since there is a simple workaround (call setFullScreenWindow() upon receiving focus): f.addWindowFocusListener(new WindowAdapter() { @Override public void windowGainedFocus(WindowEvent e) { devices[0].setFullScreenWindow(f); } }); [0] https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1256373 [1] https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1256373/comments/7
24-06-2015

This behaviour is the same as before JDK-8051617.
12-05-2015

NB: it also works well with Gnome 3 on OEL 7. Dual-screen mode doesn't affect this behavior on Ubuntu.
12-05-2015