RFR: 8343336: Add persistentScrollBars preference [v4]

Michael Strauß mstrauss at openjdk.org
Fri Nov 1 23:39:51 UTC 2024


> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Merge branch 'master' into feature/accessibility-hide-scrollbars
 - add platform keys to javadoc
 - Change reducedScrollBars to persistentScrollBars
 - Add reducedScrollBars preference

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1618/files
  - new: https://git.openjdk.org/jfx/pull/1618/files/00de674f..dc0eac58

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1618&range=03
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1618&range=02-03

  Stats: 2492 lines in 79 files changed: 167 ins; 1235 del; 1090 mod
  Patch: https://git.openjdk.org/jfx/pull/1618.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1618/head:pull/1618

PR: https://git.openjdk.org/jfx/pull/1618


More information about the openjfx-dev mailing list