JDK-8260257 : [Linux] WebView no longer reacts to some mouse events
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u291,openjfx17
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • Submitted: 2021-01-21
  • Updated: 2022-01-05
  • Resolved: 2021-02-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8u291Fixed openjfx11.0.11Fixed
Related Reports
Relates :  
Description
I ran into this while doing manual testing of the WebKit 610.2 update for JDK-8259635 on Ubuntu 20.04.

To reproduce, do the following on Linux:

1. Load any WebPage that will not fit vertically, and will use vertical scrolling. For example:

$ java HelloWebView https://github.com/openjdk/jfx/blob/master/CONTRIBUTING.md

2. Try scrolling with a track pad or by clicking somewhere in the scrollbar track.

BUG: No scrolling will occur.

You can still scroll by dragging the scrollbar thumb.

This only occurs on Linux. It works correctly on Mac and Windows.
Comments
Changeset: dc91f64b Author: Arun Joseph <ajoseph@openjdk.org> Date: 2021-02-24 16:32:55 +0000 URL: https://git.openjdk.java.net/jfx/commit/dc91f64b
24-02-2021

I can't reproduce this on ubuntu 20.04. iiuc, the mouse event is passed via the Java layer? In that case, it should be possible to write a test that fails?
22-02-2021

Issue: Data type of m_animationTimer ScrollAnimationSmooth was changed from Timer to RunLoop::Timer and RunLoop::Timer doesn't work on the main thread.
27-01-2021