-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8008222: [macosx] selectNextChangeLead is not implemented for Tree in Aqua LAF #25892
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
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back psadhukhan! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
Webrevs
|
Does macOS have equivalent shortcuts for the native tree component?
I doubt anyone will run SwingSet2 in the future specifically to test this bug. The original issue was reported due to a failing test. If that test is no longer available, it would be better to create a new one to cover this case. |
I couldn't find native tree component in any native app. Regression Test added |
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.
Is CTRL+SHIFT+(UP/DOWN) the correct key binding here?
Yes, seems not..No combinations seems to work in native Finder, the way lead selection does in Java |
Seems like JDK doesnt honour |
Rasied JDK-8360462 and PR #25966 |
There is no shortcuts for selectNextChangeLead and selectPreviousChangeLead in Aqua LAF which updates LEAD_SELECTION_PATH_PROPERTY.....
Other L&F uses "ctrl DOWN/UP" to selectNextChangeLead/selectPreviousChangeLead but same shortcut cannot be used in mac as "ctrl DOWN" shortcut is used to display the window of current active application while "ctrl UP" is used to display all windows of all applications which allows to switch between them
so used CTRL+SHIFT+DOWN for the selectNextChangeLead CTRL+SHIFT+UP for selectPreviousChangeLead
No regression test as it can be verified through SwingSet2 demo as below..
With ctrl+shift+down

another ctrl+shift+down

Now, ctrl+shift+up

Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/25892/head:pull/25892
$ git checkout pull/25892
Update a local copy of the PR:
$ git checkout pull/25892
$ git pull https://git.openjdk.org/jdk.git pull/25892/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 25892
View PR using the GUI difftool:
$ git pr show -t 25892
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/25892.diff
Using Webrev
Link to Webrev Comment