Re: RFR: 8297554: Remove Scene.KeyHandler [v3]

2022-12-20 Thread Ambarish Rapte
On Tue, 6 Dec 2022 16:46:19 GMT, Michael Strauß wrote: >> The `Scene.KeyHandler` class doesn't seem to have a clear purpose, mixing >> focus handling with event propagation. Since #852, >> `KeyHandler.setFocusVisible` is also called from mouse and touch event >> handlers, which makes the purpo

Re: RFR: 8297554: Remove Scene.KeyHandler [v3]

2022-12-20 Thread Michael Strauß
On Tue, 20 Dec 2022 20:20:55 GMT, Kevin Rushforth wrote: > @mstr2 The fix looks fine to me. I presume you have done enough testing to > ensure no regressions? > I tested it by running it against SceneBuilder and playing around with focus, where I noticed no regressions. - PR: ht

Re: RFR: 8297554: Remove Scene.KeyHandler [v3]

2022-12-20 Thread Kevin Rushforth
On Tue, 20 Dec 2022 16:03:23 GMT, Ambarish Rapte wrote: >> Michael Strauß has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains three commits: >> >> - Merge branch 'master' into fixes/keyhandler-refactor >> - review changes >> - Remo

Re: RFR: 8297554: Remove Scene.KeyHandler [v3]

2022-12-20 Thread Kevin Rushforth
On Tue, 6 Dec 2022 16:46:19 GMT, Michael Strauß wrote: >> The `Scene.KeyHandler` class doesn't seem to have a clear purpose, mixing >> focus handling with event propagation. Since #852, >> `KeyHandler.setFocusVisible` is also called from mouse and touch event >> handlers, which makes the purpo

Re: RFR: 8297554: Remove Scene.KeyHandler [v3]

2022-12-20 Thread Ambarish Rapte
On Tue, 6 Dec 2022 16:46:19 GMT, Michael Strauß wrote: >> The `Scene.KeyHandler` class doesn't seem to have a clear purpose, mixing >> focus handling with event propagation. Since #852, >> `KeyHandler.setFocusVisible` is also called from mouse and touch event >> handlers, which makes the purpo

Re: RFR: 8297554: Remove Scene.KeyHandler [v3]

2022-12-06 Thread Michael Strauß
> The `Scene.KeyHandler` class doesn't seem to have a clear purpose, mixing > focus handling with event propagation. Since #852, > `KeyHandler.setFocusVisible` is also called from mouse and touch event > handlers, which makes the purpose of the class even less pronounced. > > Moving the focus-r

Re: RFR: 8297554: Remove Scene.KeyHandler [v2]

2022-12-06 Thread Michael Strauß
> The `Scene.KeyHandler` class doesn't seem to have a clear purpose, mixing > focus handling with event propagation. Since #852, > `KeyHandler.setFocusVisible` is also called from mouse and touch event > handlers, which makes the purpose of the class even less pronounced. > > Moving the focus-r

Re: RFR: 8297554: Remove Scene.KeyHandler

2022-12-06 Thread Ambarish Rapte
On Thu, 24 Nov 2022 06:49:02 GMT, Michael Strauß wrote: > The `Scene.KeyHandler` class doesn't seem to have a clear purpose, mixing > focus handling with event propagation. Since #852, > `KeyHandler.setFocusVisible` is also called from mouse and touch event > handlers, which makes the purpose

Re: RFR: 8297554: Remove Scene.KeyHandler

2022-12-01 Thread Ambarish Rapte
On Thu, 24 Nov 2022 06:49:02 GMT, Michael Strauß wrote: > The `Scene.KeyHandler` class doesn't seem to have a clear purpose, mixing > focus handling with event propagation. Since #852, > `KeyHandler.setFocusVisible` is also called from mouse and touch event > handlers, which makes the purpose

RFR: 8297554: Remove Scene.KeyHandler

2022-11-23 Thread Michael Strauß
The `Scene.KeyHandler` class doesn't seem to have a clear purpose, mixing focus handling with event propagation. Since #852, `KeyHandler.setFocusVisible` is also called from mouse and touch event handlers, which makes the purpose of the class even less pronounced. Moving the focus-related funct