-
Bug
-
Resolution: Fixed
-
P3
-
6u45, 7u25, 8, 9
-
b65
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084911 | emb-9 | Alexander Zvegintsev | P3 | Resolved | Fixed | team |
JDK-8086895 | 8u65 | Alexander Zvegintsev | P3 | Resolved | Fixed | b01 |
JDK-8078620 | 8u60 | Alexander Zvegintsev | P3 | Resolved | Fixed | b14 |
JDK-8138145 | emb-8u65 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8080000 | emb-8u60 | Alexander Zvegintsev | P3 | Resolved | Fixed | team |
On windows frame could be set to fullscreen without any hacks.
Window manager doesn't matter.
Reproducible: Always
Is a regression: No
Workaround exists: Yes
Following code makes JFrame really fullscreen.
f.setUndecorated(true);
f.setResizable(false);
f.addFocusListener(new FocusListener() {
@Override
public void focusGained(FocusEvent arg0) {
f.setAlwaysOnTop(true);
}
@Override
public void focusLost(FocusEvent arg0) {
f.setAlwaysOnTop(false);
}
});
I didn't find workaround for pure awt windows, they are still created under the panels.
Also, ugly demo attached. On windows it always works normally.
P.S. I've noticed a similar bug, but it was closed as won't fix (metacity bug). But I've reproduced the same on KDE/kwin and other WM's.
I'm not sure whether it's a jdk or WM bug.
- backported by
-
JDK-8078620 Fullscreen mode is not working properly on Xorg
-
- Resolved
-
-
JDK-8080000 Fullscreen mode is not working properly on Xorg
-
- Resolved
-
-
JDK-8084911 Fullscreen mode is not working properly on Xorg
-
- Resolved
-
-
JDK-8086895 Fullscreen mode is not working properly on Xorg
-
- Resolved
-
-
JDK-8138145 Fullscreen mode is not working properly on Xorg
-
- Resolved
-
- duplicates
-
JDK-7057287 KDE 4 task bar is always on top of fullscreen Java applications
-
- Closed
-
-
JDK-7179818 3 FullScreen tests failed on uel 6 with jdk 8
-
- Closed
-
-
JDK-8038831 Linux: X11GraphicsDevice.setFullScreenWindow() doesn't work in exclusive mode
-
- Closed
-
- relates to
-
JDK-8081371 [PIT] Test closed/java/awt/FullScreen/DisplayMode/CycleDMImage.java switches Linux to the single device mode
-
- Resolved
-
-
JDK-8080141 Ubuntu 14.04 Gnome 3 and fullscreen AWT window
-
- Closed
-
-
JDK-6500686 Fullscreen windows behind the taskbar on Linux
-
- Closed
-