I've just noticed that Ash UI is quite obstructive when we want to use it
mostly with keyboard. The strangest thing for me is, why don't we focus
elements with OnMousePress event?
At least it doesn't happen in the Tray dialog (CTRL+ALT+S, then ENTER). If
we do not have mouse, or do not want to use mouse, then we have to use
(ALT)-TAB keys to navigate.
We can't use arrows. To be able to use left and right key to change volume
in the volume slider, I have to get the focus first. So, I have to get
there using the TAB key first.
This may not seem to be a major issue, but I think it actually is. I think
it is essential to be able to mix keyboard with mouse navigation. I'd like
to click on an element, and then use keyboard
to navigate in the list. Also, I'd like to click on the slider and use the
mouse's wheel to change its value. It is not yet implemented, but even if
it was, it wouldn't work unless we get there using TAB,
because we can't receive MouseWheel events if we do not have focus.
I believe, that on any modern OS, focusable elements get focus after
clicking on them. It does not happen on Ash.
So, to recap. Why do we avoid setting focus on a widget when clicking on
it? Is it on purpose?