-
Notifications
You must be signed in to change notification settings - Fork 0
Description
As of now, FocussedModePlus responds to Arrow Keys (when in focus) and mouse cursor movements. When the User presses any of the Arrow keys or moves the mouse - the Transparent Area moves accordingly.
However, when the user for example is typing text into / reading text from a word document or text file - then FocussedModePlus might behave differently. When the user types text into a Word document (while using FocussedModePlus to isolate the area where the user is typing text) - the App in focus is actually Word or the Text Editor that's being used. So, in this case, as soon as the Caret (i.e. Text Cursor) moves outside the Transparent area (or field of view) - FocussedModePlus does not move the Transparent area to make the Text Caret visible. As a result, once the Text Caret moves outside the Transparent area - it continues to remain out of view - until the user moves the mouse pointer to bring the Text Caret back in view. And this has to be done as many times as required - as long as the user wishes to continue typing.
Again, if the user is reading from a document - there can be 2 scenarios here.
- The user uses the mouse to move the Transparent area from one word / sentence to the next. In this case - FocussedModePlus continues to remain in focus - so, its behavior is normal.
- The user clicks into the Word document - and uses the Arrow keys to move through the document. In this case - Word or the Text Editor is in focus. So, when the Text Caret goes out of view - it continues to remain out of view (until the mouse pointer is moved - as explained earlier).
This is currently a Limitation.
To overcome this - the mouse pointer must somehow follow a Text Caret (if it is present). The underlying logic should work as follows.....
- check to see if a Text Editor / Word Processing App is open
- if so - check to see if it is in focus
- if so - get the Text Caret position within the App
- Convert these Coordinates to Screen level Coordinates
- set the mouse pointer - to these Screen Coordinates (keep a timer - to repeat this from time to time)
- If the Text Editor / Word Processing App is NOT in Focus - then Stop tracking the Text Caret
If implemented, this will be a Major improvement to FocussedModePlus......