KeyboardKitPro icon indicating copy to clipboard operation
KeyboardKitPro copied to clipboard

fullDocumentContext table scan issue

Open evilutioner opened this issue 2 years ago • 1 comments

Issue Description

When the cursor is outside a table, the text inside the table is not recognized. I created a table in notes:

|----------|----------| | The report provides new estimates of the chances of crossing the global warming level of 1.5°C in the next decades, and | | | The report states that without immediate, rapid, and large-scale reductions in greenhouse gas emissions, it will be impossible to limit global warming to 1.5°C or even 2°C.finds that unlessr The report says that without immediate and large reductions in greenhouse gas emissions, it will be impossible to limit global warming to 1.5°C or even 2°C. there are immediate, rapid and large-scale reductions in greenhouse gas emissions, limiting warming to close to 1.5°C or even 2°C will be beyond reach. | |

Steps to Reproduce

  1. Open the document containing a table with text inside it.
  2. Place the cursor outside the table.
  3. Try to call fullDocumentContext.

Actual Result

When trying to us, the API indicating that there is no text.

Expected Result

The system should recognize the text inside the table regardless of the cursor's position.

Environment

KeyboardKitPro 7.5.0

evilutioner avatar May 05 '23 14:05 evilutioner

Hi @evilutioner

Sorry to hear that this use-case isn't working. The full document context reading functionality is based on using the proxy's native functionality to move the cursor and read the text at the current position. If this is not possible using the native functionality, then reading the table will not work.

I will however naturally look into if this can be fixed.

danielsaidi avatar May 05 '23 14:05 danielsaidi