Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4
-
Resolution: Duplicate
-
Affects Version/s: 9
-
Fix Version/s: tbd_major
-
Component/s: client-libs
-
Labels:None
-
Subcomponent:
-
CPU:generic
-
OS:linux
Description
Currently GraphicsDevice#getDisplayMode() does not receive mode from native platform in case of Xinerama and returns the default mode form getBounds():
Rectangle r = gc.getBounds();
return new DisplayMode(r.width, r.height,
DisplayMode.BIT_DEPTH_MULTI,
DisplayMode.REFRESH_RATE_UNKNOWN);
The corresponding native code need to be fixed to return the actual mode,
Rectangle r = gc.getBounds();
return new DisplayMode(r.width, r.height,
DisplayMode.BIT_DEPTH_MULTI,
DisplayMode.REFRESH_RATE_UNKNOWN);
The corresponding native code need to be fixed to return the actual mode,
Attachments
Issue Links
- duplicates
-
JDK-8167486 Device.getDisplayMode() doesn't report refresh rate on Linux in case of dual screen
-
- Resolved
-
- relates to
-
JDK-8022810 Cannot list all the available display modes on Ubuntu linux in case of two screen devices
-
- Resolved
-