Should a mouse click change the keyboard focus?

Windows specific forum
Little John
Addict
Addict
Posts: 4786
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Should a mouse click change the keyboard focus?

Post by Little John »

On a window with several gadgets, I can change the keyboard focus by pressing [Tab] or [Shift]+[Tab]. The gadget which is currently active is indicated by a dotted rectangle.
If I cklick with the mouse on a differnt gadget, should this action change the keyboard focus (the active gadget)? What is the standard behaviour on Windows 10/11?
User avatar
Demivec
Addict
Addict
Posts: 4267
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Should a mouse click change the keyboard focus?

Post by Demivec »

Yes, it changes the focus which includes the keyboard focus. This happens by virtue of the click/ selection. Both the mouse and the keyboard are usable to change where the focus for keyboard input takes place.

There is also input which can take place by virtue of mouse pointer focus. This includes mouse actions such as using the mouse scroll wheel. It also includes possible keyboard input like holding 'modifier' keys like Ctrl, Shift, Alt or Shift (and others).

I believe there are some differences in the mouse focus under the macOS and perhaps the keyboard focus too.
Little John
Addict
Addict
Posts: 4786
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Should a mouse click change the keyboard focus?

Post by Little John »

Thank you!
Post Reply