Integrated: 8313138: Scrollbar Keyboard enhancement

Andy Goryachev angorya at openjdk.org
Wed May 22 14:27:17 UTC 2024


On Wed, 6 Mar 2024 19:55:54 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Adding alt-ctrl-LEFT/RIGHT/UP/DOWN (option-command-LEFT/RIGHT/UP/DOWN) key bindings to
> 
> - ListView
> - TreeView
> - TableView
> - TreeTableView
> 
> to support keyboard-only horizontal and vertical scrolling.  The main reason for the change is to improve accessibility.
> 
> **NOTE: For controls in right-to-left orientation, the direction of horizontal scrolling is reversed.**
> 
> As far as I can tell, these key combinations do not interfere with editing.
> 
> The proposed solution can be further optimized by adding a public method to the VirtualFlow class, something like
> 
> 
> public void horizontalUnitScroll(boolean right);
> public void verticalUnitScroll(boolean down);
> 
> 
> Q: Does this change require a CSR to explain the change in the controls' behavior?  We don't yet have the key bindings documented in /doc-files/behavior
> 
> Note:
> Jenkins headful test passed on all mac configurations, failed on all linux configurations (master branch failed also, so it is test issue), while windows configuration is not yet available.

This pull request has now been integrated.

Changeset: b685db23
Author:    Andy Goryachev <angorya at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/b685db23f07df32a3caea7af36206c48b52bb6eb
Stats:     1283 lines in 15 files changed: 1221 ins; 37 del; 25 mod

8313138: Scrollbar Keyboard enhancement

Reviewed-by: arapte, kcr, kizune

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

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


More information about the openjfx-dev mailing list