On Thu, 24 Feb 2022 18:46:21 GMT, Hima Bindu Meda <d...@openjdk.java.net> wrote:
> Basically, buttons property is a mask which represents the button/buttons > clicked on the mouse. > It is observed that event.buttons property is set to 0 when there is > mouse press or drag event.This behaviour is observed only with javafx > webView.Other browsers set the buttons property to 1, when there is mouse > press or drag. > The issue happens because the buttons property is not updated in the > framework. > Added implementation to update and propagate the buttons property from > javafx platform to native webkit.Added a robot test case for the same. > Performed sanity testing with the added implementation and the buttons > property is compliant with the specification mentioned in > https://w3c.github.io/pointerevents/#the-buttons-property. This pull request has now been integrated. Changeset: 2e8a4a5e Author: Hima Bindu Meda <hima.bindu.m...@oracle.com> Committer: Kevin Rushforth <k...@openjdk.org> URL: https://git.openjdk.java.net/jfx/commit/2e8a4a5e97bb88a5807ae5fe075b98e1d54a4ca0 Stats: 302 lines in 8 files changed: 293 ins; 1 del; 8 mod 8278759: PointerEvent: buttons property set to 0 when mouse down Reviewed-by: kcr, arapte ------------- PR: https://git.openjdk.java.net/jfx/pull/742