RFR: 8343336: Add persistentScrollBars preference [v2]

Kevin Rushforth kcr at openjdk.org
Fri Nov 1 13:55:37 UTC 2024


On Thu, 31 Oct 2024 20:52:50 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> This PR adds another accessibility preference that is available on all supported desktop platforms:
>> 
>> 1. **Windows**: Settings -> Accessibility -> Visual Effects -> Always show scroll bars
>> 2. **macOS**: System Settings -> Appearance -> Show scroll bars
>> 3. **Ubuntu**: Settings -> Accessibility -> Seeing -> Always show scroll bars
>> 
>> When the OS setting is changed, all platforms report updates that can be observed in JavaFX.
>> The manual test application `test/manual/events/PlatformPreferencesChangedTest` can be used to test the feature.
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Change reducedScrollBars to persistentScrollBars

modules/javafx.graphics/src/main/java/javafx/application/Platform.java line 599:

> 597:          * @since 24
> 598:          */
> 599:         ReadOnlyBooleanProperty persistentScrollBarsProperty();

Do you also plan to add new platform-specific preferences or do you think this is unnecessary?

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1618#discussion_r1825843065


More information about the openjfx-dev mailing list