Skip to content

Password cursor moves away from current typing point #89

Closed

Description

@thnom

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

Activity

  1. eXpl0it3r commented on Nov 24, 2021

    @eXpl0it3r
    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

  2. thnom commented on Nov 24, 2021

    @thnom
    Author

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

  3. added a commit that references this issue on Aug 8, 2025
    27dc5b8
  4. self-assigned this
    on Aug 8, 2025
  5. added 2 commits that reference this issue on Aug 28, 2025
    a60659d
    c68456b
  6. added a commit that references this issue on Aug 28, 2025
    ec56dc1
  7. eXpl0it3r commented on Aug 28, 2025

    @eXpl0it3r
    Collaborator

    This should be fixed with #102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions