phillco / talon-axkit

Talon macOS accessibility magic!
MIT License
45 stars 12 forks source link

Issue with navigation commands #34

Open phillco opened 2 years ago

phillco commented 2 years ago

Mike on Slack:

I think I may have found a bug in axkit. I earlier reported that dictation mode wasn't replacing text correctly. It seems to be related to axkit. If I install axkit and then issue the following voice commands in dictation mode in TextEdit (on MacOS):

  1. The quick brown fox jumps over the lazy dog
  2. navigate up select phrase brown 3 orange

I always get:

The quick orange fox jumps over the lazy dog

Note the extra space before the word "orange".

However, if I remove axkit, restart Talon, and execute the same commands, I don't get the extra space. I can also see that something different is happening when Talon replaces the text without axkit. The cursor moves around in a different way depending on whether axkit is installed or not.

nriley commented 1 year ago

I can't reproduce this (I have the "navigate"-free option uncommented in text_navigation.talon, so the navigation command is different, but this should not make any difference to the behavior). I wonder if this is related to #46?

https://user-images.githubusercontent.com/68303/212572698-084d0e81-0390-458d-906d-9894820d6e25.mov