Enhanced Mouse Navigation: Handles cases where it is not possible to navigate a control that is covered by a container control. #17108
Description
Is your feature request related to a problem? Please describe.
Some time ago I discovered that mouse tracking doesn't work on most controls in the latest version of VS Code.
This regression was introduced by Electron.
The reason seems to be that an empty panel is covering all the controls, causing the mouse object to focus only on this invalid panel.
Although we can probably wait for Electron to fix this issue.
But, until Electron fixes it, this will affect quite a few applications.
And there are many similar cases in other programmes, such as Windows Terminal.
Describe the solution you'd like
When looking up an object via objectFromPoint
, you can ignore the upper level object and find the lower level object.
I'm not sure this is the right direction, the logic of finding objects is complex, especially with all the inheritance and dynamic binding