-
Notifications
You must be signed in to change notification settings - Fork 861
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
Minor improvements to new Usages preview panel (NB24) #8068
Comments
this is behavior is shared between all trees. The scrollpane will try to keep the node in the viewport if the selection changes. The reason why it is more noticeable in the usages window is likely because the nodes can contain longer lines, this pretty much guarantees that the viewport moves if the selection changes. I can reproduce the same behavior in the projects tree or refactoring preview window etc. I am sure we can come up with something but we have to be careful to not introduce other bugs. |
If it's easier, just saving the split position and reuse it could be another way to solve this. It might seem a minor thing, but doing 30 times scroll+move split bar is really irritating at the end... |
@jjazzboss implemented the tree navigation change in #8089, dev-build for testing purposes is here: https://github.com/apache/netbeans/actions/runs/12474234603/artifacts/2357632475 |
Description
Attached image is what I get with Usages. I can't read the beginning of left panel so each time (except if the first usage line found is short) I have to scroll on the left.
Use case/motivation
Scrollbar of the left panel should be forced to the left.
Horizontal split position between left/right usage panels should be saved and reused for next Usages.
Related issues
No response
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: