Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypingAid suggestions list is not following Text select cursor. #97

Open
sobuj53 opened this issue Sep 27, 2020 · 4 comments
Open

TypingAid suggestions list is not following Text select cursor. #97

sobuj53 opened this issue Sep 27, 2020 · 4 comments

Comments

@sobuj53
Copy link

sobuj53 commented Sep 27, 2020

Hello,
This is a great piece of software for making my daily life more easier. However I've seen a shortcoming that is, the word suggestion list follows mouse cursor position instead of text select curser position. This create suggestions list popping up in odd places rather than where it really should be. I noticed this behavior is not present in word processing software like MS word, but in other applications it creates a lot of confusion.

See the below image,
issue 1
issues

issue 2
issue2

I think typingAid is trying to follow mouse cursor position instead of text select cursor position. I'd really appreciate if you could try to change this behavior and make is more user friendly.

Thank your time and consideration.

@ManiacDC
Copy link
Owner

If TypingAid cannot detect the caret position, it will open the word list on your mouse. Some programs, such as many web browsers, do not properly report the caret position, so TypingAid cannot draw the word list there.

@ManiacDC
Copy link
Owner

Also, the version of AHK being used with TypingAid is really old (from 2015). You could try downloading the source code and running it with a newer version of AHK, but I'm not sure it will help (also, it's untested with TypingAid).

@sobuj53
Copy link
Author

sobuj53 commented Sep 28, 2020

Also, the version of AHK being used with TypingAid is really old (from 2015). You could try downloading the source code and running it with a newer version of AHK, but I'm not sure it will help (also, it's untested with TypingAid).

I'm however running latest AHK, but modifying TypingAid is beyond my capabilities, I've tried to add few changes like simple

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
but loading script fails due to this 🗡️ . I just hope you still have love for this great piece of art and will try to fix few issue if your time permits, that's all. Thank you for your time and reply.

@ManiacDC
Copy link
Owner

Unfortunately, as mentioned, this isn't a problem with TypingAid or AHK, it's a problem with the applications you are using.

There might be a way to make TypingAid work, if someone wants to play with it, feel free to try using the accessibility library from this thread:
https://www.autohotkey.com/boards/viewtopic.php?t=67923

Basically, if you can't get the cursor the normal way, try falling back to the accessibility library. Might work.

theinfinit added a commit to theinfinit/TypingAid that referenced this issue Oct 31, 2023
*3.0.0 2023/10/31
** Fixed issue with suggestions list not following caret in chrome based apps
** Major version bump due to AlexF improvements over the years

Fix based on https://www.autohotkey.com/boards/viewtopic.php?t=67923
Commit is addressing issue raised on original TypingAid repo: ManiacDC#97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants