-
Notifications
You must be signed in to change notification settings - Fork 471
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
8260257: [Linux] WebView no longer reacts to some mouse events #404
Conversation
👋 Welcome back ajoseph! A progress list of the required criteria for merging this PR into |
/reviewers 2 |
@kevinrushforth |
Webrevs
|
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. Tested on all three platforms (although it should only affect Linux). I confirm that on Linux scrolling via the trackpad (or by clicking in the scrollbar track) now works properly.
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 to me. Verified on Ubuntu 20.04
@arun-joseph 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 6 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
As discussed offline, an automated test would be helpful to ensure no future regression. |
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.
Great.
The test fails before and succeeds after the patch.
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.
The new test looks good, although in order to make it pass on my slower Ubuntu 20.04 VM, I had to increase the sleep time to 500 ms and also add a sleep after the focus latch and before the scroll. See below.
tests/system/src/test/java/test/javafx/scene/web/WebPageTest.java
Outdated
Show resolved
Hide resolved
I did a little more experimenting, and the important one on my Linux VM system is the addition of the 500 ms sleep between the await on the latch and initiating the scroll. I could leave the other delay at 100 ms and it still passes for me. It may be best to increase that latter sleep to 500 anyway. |
/integrate |
@arun-joseph Since your change was applied there have been 6 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit dc91f64. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Timer in RunLoopGeneric has an open bug in WebKit (https://bugs.webkit.org/show_bug.cgi?id=189335) causing the timer to remain active even after firing.
Reverting back to WebCore Timer for ScrollAnimation in Linux.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/404/head:pull/404
$ git checkout pull/404