On Sun, 21 Jun 2026 15:45:14 GMT, Marius Hanl <[email protected]> wrote:

> Tests for the fix made in https://github.com/openjdk/jfx/pull/2171.
> 
> I figured out that `ScrollEventTest` already has a way to test `Scene` 
> `ScrollEvent`s.
> This is done by invoking the `ScenePeerListener.scrollEvent(..)` method in 
> the tests.
> 
> This is the very same way the `GlassViewEventHandler` will do in a normal 
> application (which is usually invoked from 
> `com.sun.glass.ui.View.notifyScroll(..)`).
> 
> cc @beldenfox 
> This tests the picked `Node` and the `Scene`, if there is no `Node` to pick. 
> ~Let me know what you think, I will create a ticket if this is fine!~ Done.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: edf20b53
Author:    Marius Hanl <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/edf20b532fa9eeff14c06f9e041c93babf82bbe3
Stats:     216 lines in 1 file changed: 215 ins; 0 del; 1 mod

8387119: Tests for ScrollEvent redirection

Reviewed-by: angorya, mfox

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

PR: https://git.openjdk.org/jfx/pull/2194

Reply via email to