-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8313138: Scrollbar Keyboard enhancement #1393
8313138: Scrollbar Keyboard enhancement #1393
Conversation
👋 Welcome back angorya! A progress list of the required criteria for merging this PR into |
@andy-goryachev-oracle This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
Since this is a noticeable (end-user-visible) behavioral change, I think a CSR would be in order (it need not be very detailed). We don't currently document keyboard shortcuts -- either for individual controls or for focus traversal -- although that would be a good doc enhancement (for a later time). Reviewers: @arapte @azuev-java /reviewers 2 |
@kevinrushforth |
@kevinrushforth has indicated that a compatibility and specification (CSR) request is needed for this pull request. @andy-goryachev-oracle please create a CSR request for issue JDK-8313138 with the correct fix version. This pull request cannot be integrated until the CSR request is approved. |
... but nothing should prevent the maintainers of ControlsFx from adding this functionality to the GridView. |
As @eduardsdv mentioned in and @kevinrushforth asked about earlier, perhaps we should add similar capability for vertical scrolling using alt-ctrl-Up/DOWN (option-command-UP/DOWN) in the same PR rather than separately. |
Tested a few samples. It looks good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM...
As a follow-up enhancement, we might consider extending this to TextArea and/or ScrollPane. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I left one comment (on a comment line) that applies to all 4 controls. I'll reapprove if you make the suggested change.
...es/javafx.controls/src/main/java/com/sun/javafx/scene/control/behavior/ListViewBehavior.java
Outdated
Show resolved
Hide resolved
/integrate |
Going to push as commit b685db2. |
@andy-goryachev-oracle Pushed as commit b685db2. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Adding alt-ctrl-LEFT/RIGHT/UP/DOWN (option-command-LEFT/RIGHT/UP/DOWN) key bindings to
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
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.
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1393/head:pull/1393
$ git checkout pull/1393
Update a local copy of the PR:
$ git checkout pull/1393
$ git pull https://git.openjdk.org/jfx.git pull/1393/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1393
View PR using the GUI difftool:
$ git pr show -t 1393
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1393.diff
Webrev
Link to Webrev Comment