JDK-8259237 : Demo selection changes with left/right arrow key. No need to press space for selection.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: other,windows_10
  • Submitted: 2021-01-05
  • Updated: 2021-11-24
  • Resolved: 2021-01-12
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 11 JDK 16 JDK 17 JDK 7 JDK 8
11.0.14-oracleFixed 16 b32Fixed 17Fixed 7u341Fixed 8u331Fixed
Related Reports
Relates :  
Relates :  
Description
Additional Info:
Windows 10 x64/Mac 11

Tested on 
JDK 16b28

Issue is not reproducible in builds before JDK16b14.
Comments
Fix Request (11u): Should get backported for parity with 11.0.14-oracle. Applies cleanly.
17-09-2021

Changeset: 28ff2de1 Author: Pankaj Bansal <pbansal@openjdk.org> Date: 2021-01-12 09:46:06 +0000 URL: https://git.openjdk.java.net/jdk16/commit/28ff2de1
12-01-2021

[~vdyakov] I can confirm that this is a side effect of JDK-8249548. I will work on this more tomorrow to see if I can find a quick solution or will revert the fix done for JDK-8249548 for now as the deadline is of Jan 13, 2021.
05-01-2021

[~pbansal] please evaluate
05-01-2021

This regression is a side effect of fix for bug JDK-8249548. Since demo toggles in SwingSet2 are check boxes in a button group the new code automatically sets the checkbox to a selected state when it is navigated to.
05-01-2021