On Tue, 8 Oct 2024 19:17:47 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

> so here is an unrelated question - if we assume that the controls should only 
> consume the event if it effected a change in said control, what should 
> command-A do in case of a focused empty ListView? should it consume the vent 
> or not?

If the focus is clearly in the list view I think it would be surprising if 
Cmd+A was acted on further up the scene graph. Most of the discussion of event 
consumption has been around keys like ESCAPE where the user sometimes expects 
it to act locally (like canceling editing) and sometimes further out (like 
dismissing a dialog). I don't think that expectation applies to Cmd+A.

On the other hand a user might not perceive an empty list view as being the 
center of attention. It's not like an empty text field that has a blinking 
cursor.

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

PR Comment: https://git.openjdk.org/jfx/pull/1528#issuecomment-2402539899

Reply via email to