8129123: ComboBox popup list view does not scrollTo when ComboBox value/selection is set #136
Conversation
Hi ccavanaugh, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user ccavanaugh" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
/signed |
Thank you! Please allow for up to two weeks to process your OCA, although it is usually done within one to two business days. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated! |
Webrevs
|
/reviewers 2 |
@kevinrushforth |
Can you please provide a unit test? One that fails before your fix and passes after your fix. |
@aghaisas can you be one of the reviewers? |
I can provide a manual test the next couple of days that demonstrates it before and after, but I'm not sure how to create an automated unit test because the issue is visual. |
A quick snippet of how-to write a unit test (for setup see other tests in controls) that will fail before and pass after the change:
|
A couple of comments to the bug (and fix) itself:
|
Mailing list message from Craig Cavanaugh on openjfx-dev: My use case which is driving the fix for this bug is user expectation in an When a user makes an edit to an existing transaction, the expectation is Also, scrolling automatically was the default behavior for Swing. My current work around is an extended ComboBox that listens for a mouse On Fri, Apr 3, 2020 at 8:19 AM Jeanette Winzenburg <
|
To avoid this situation, create a new branch for your changes and reset the
Then proceed to create a new pull request with |
This pull request fixes JDK-8129123. This bug also effects Windows and Linux platforms.
Also, I believe JDK-8196037 is a duplicate of this issue.
I've tested this against OpenJDK 11.0.6 on Ubuntu 18.04, Arch Linux and Windows 10.
Thanks!
Progress
Error
Issue
Download
$ git fetch https://git.openjdk.java.net/jfx pull/136/head:pull/136
$ git checkout pull/136