RFR: 8375070: NPE in Scene.ClickGenerator::preProcess when mouse button is none

Andy Goryachev angorya at openjdk.org
Mon Jan 12 23:01:14 UTC 2026


On Mon, 12 Jan 2026 22:07:16 GMT, Christopher Schnick <duke at openjdk.org> wrote:

> A straightforward fix to just include MouseButton.NONE in the click counter map in cases weird mouse button events are sent. Alternatively, these events could also be ignored/dropped at some point

I've got the Logitech MX Anywhere 2S mouse with a bunch of extra buttons and no specially installed driver, and I cannot reproduce the exception with the latest master branch.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/2034#issuecomment-3740886500


More information about the openjfx-dev mailing list