JDK-8154508 : [macosx] Custom Swing slider components need to allow standard accessibility
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.accessibility
  • Affected Version: 7u4,8,9
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • Submitted: 2016-04-19
  • Updated: 2024-11-29
  • Resolved: 2024-11-29
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.
Other
tbdResolved
Related Reports
Relates :  
Relates :  
Description
Similar to JDK-8076554 custom slider components cannot be created.
Comments
Closing this issue as unable to reproduce in mainline jdk on Sonoma 14.7.1 Although [~stn] mentioned the attached code is not a reproducer but verified with the attached CustomJSlider.java test and VO announced slider values correctly. Able to interact with key combinations as well to increase and decrese slider values also. Screen magnifier also magnifies the current slider value.
29-11-2024

Two comments from Sergey: 1) In sun.lwawt.macosx.CAccessible.addNotificationListeners the AXTextChangeNotifier listener should be new'd after the following if, not before the if. 2) Is it possible that "AccessibleContext.ACCESSIBLE_TEXT_PROPERTY" will be fired by JProgressBar or JSlider, if yes then we will get double notification(one from AXTextChangeNotifier and one from AXProgressChangeNotifier). There may be broader, similar issues related to #2.
21-04-2016