JDK-8249251 : [dark_mode ubuntu 20.04] The selected menu is not highlighted in GTKLookAndFeel
Type:Bug
Component:client-libs
Sub-Component:javax.swing
Affected Version:8,11,14,15,16
Priority:P2
Status:Closed
Resolution:Fixed
OS:linux
Submitted:2020-07-13
Updated:2021-06-04
Resolved:2020-07-15
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.
The selected Menu is not highlight in GTKLookAndFeel in Ubuntu 20.04. so, there is no difference between selected and unselected Menu.
The issue can be reproduced by running Swingset2
Comments
Fix request (13u):
tried with different WMs. The fix seems working well with SwingSet2; automatic swing tests don't show any regression.
11-02-2021
Ubuntu 20.04 Dark Mode corresponds to activating the GTK3 theme "Yaru-Dark".
When backporting this I noticed that the test still fails with (at least) GTK3 theme "HighContrastInverse" supplied with GTK 3.24.5. I did not exhaustively test all GTK3 themes.
12-01-2021
Tests used for verification:
I have used SwingSet2 of JDK15b33 and launched the demo from command prompt using jdk 15 b 30/33 with GTKLookAndFeel.
Tested on linux-x64 (blr003a141.in.oracle.com)
JDK15 b30: test FAILED
TEST RESULTS: -
I have observed that the selected menu was not highlighted.
JDK15 b33: test PASSED
TEST RESULTS:-
The selected menu was highlighted.
Resolution: The fix succeeded.
27-07-2020
Fix request (11u) -- will label after testing completed.
I would like to downport this for parity with 11.0.9-oracle. Applies clean.
webrev: http://cr.openjdk.java.net/~pbansal/8249251/webrev01/
https://mach5.us.oracle.com/mdash/jobs/panbansa-client-20200711-1454-12573307
Mach5 job without the RETRY_COUNT option.