-
Bug
-
Resolution: Unresolved
-
P3
-
8u471, 11.0.29-oracle, 17.0.17-oracle, 21.0.9-oracle, 25.0.1, 26
-
In Review
-
windows
Testsuite name: Regression
TestName :
open/test/jdk/javax/swing/JMenuItem/RightLeftOrientation.java#windows
closed/test/jdk/javax/swing/JMenuItem/6458123/ManualBug6458123.java
Product(s) tested: JDK-26+11 / JDK-21.0.9+6 / JDK-17.0.17+6 / JDK-11.0.29+7 / JDK8u471b06
OS/architecture: Windows 11 (24H2)
Actual behavior: In case of ManualBug6458123.java change the LookAndFeel to WindowsLookAndFeel and observe the UI in "First R2L" (Right to Left Orientation) Menu items.
MenuItem with only Icon doesn't show the icon
MenuItem with "Text leads icon" shows a truncated Icon.
JCheckBoxMenuItem and JRadioButtonMenuItem show truncated UI.
In case of RightLeftOrientation.java#windows as per the test Instructions the JMenuItem's shown in Frame lower half(RIGHT_TO_LEFT Orientation) should mirror the upper half (LEFT_TO_RIGHT Orientation) . Attached Screenshot shows the UI differences (win11_21.0.9+6_RightLeftOrientation_FAILED.png).
Reproducible: Always
Is it a Regression: Yes , The same test PASSED on Windows 11
with JDK-26+10 / jdk-21.0.9+5 / JDK-17.0.17+5 / JDK-11.0.29+6
TestName :
open/test/jdk/javax/swing/JMenuItem/RightLeftOrientation.java#windows
closed/test/jdk/javax/swing/JMenuItem/6458123/ManualBug6458123.java
Product(s) tested: JDK-26+11 / JDK-21.0.9+6 / JDK-17.0.17+6 / JDK-11.0.29+7 / JDK8u471b06
OS/architecture: Windows 11 (24H2)
Actual behavior: In case of ManualBug6458123.java change the LookAndFeel to WindowsLookAndFeel and observe the UI in "First R2L" (Right to Left Orientation) Menu items.
MenuItem with only Icon doesn't show the icon
MenuItem with "Text leads icon" shows a truncated Icon.
JCheckBoxMenuItem and JRadioButtonMenuItem show truncated UI.
In case of RightLeftOrientation.java#windows as per the test Instructions the JMenuItem's shown in Frame lower half(RIGHT_TO_LEFT Orientation) should mirror the upper half (LEFT_TO_RIGHT Orientation) . Attached Screenshot shows the UI differences (win11_21.0.9+6_RightLeftOrientation_FAILED.png).
Reproducible: Always
Is it a Regression: Yes , The same test PASSED on Windows 11
with JDK-26+10 / jdk-21.0.9+5 / JDK-17.0.17+5 / JDK-11.0.29+6
- caused by
-
JDK-8348760 RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk/27968