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

Password cursor moves away from current typing point #89

Open
thnom opened this issue Nov 24, 2021 · 2 comments
Open

Password cursor moves away from current typing point #89

thnom opened this issue Nov 24, 2021 · 2 comments
Labels

Comments

@thnom
Copy link

thnom commented Nov 24, 2021

As observed in the below (using test from examples), the cursor for password fields moves further away from the correct point as you type.

Screen.Recording.2021-11-24.at.13.07.50.mov
@eXpl0it3r eXpl0it3r added the bug label Nov 24, 2021
@eXpl0it3r
Copy link
Collaborator

Looks like the MoveCursor function doesn't consider when HideText is set and always calculates the cursor position for the actual input text: https://github.com/TankOs/SFGUI/blob/master/src/SFGUI/Entry.cpp#L146

@thnom
Copy link
Author

thnom commented Nov 24, 2021

Doesn't appear to actually be tied to HideText or not - testing on visible fields depicts the same bug if you continuously type "*"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants