RFR: 8375070: NPE in Scene.ClickGenerator::preProcess when mouse button is none
Christopher Schnick
duke at openjdk.org
Mon Jan 12 23:18:03 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
Yes, I understand. The only reason I submitted this was because I have seen it multiple times now and the fix does not seem to have any adverse effects on other stuff.
It should be reproducible in headless mode when sending an event manually. I will try to create a reproducer for that.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/2034#issuecomment-3740928808
More information about the openjfx-dev
mailing list