Skip to content

Conversation

mcaserta
Copy link
Contributor

Apple enabled password autofill by default on Big Sur for NSSecureTextField.

This means that by clicking the password field in an entry in MacPass, an annoying "Passwords..." tooltip pops up.

By changing the secure text field's content type to "oneTimeCode", the default behavior is overridden and the autofill feature is disabled.

@mstarke
Copy link
Member

mstarke commented Dec 24, 2020

One time code smells but it seems to do the trick. Might it be possible to use None as the content type? Or is this hard-coded into NSSecureTextField?

@mcaserta
Copy link
Contributor Author

I know it stinks, I hate it too. I believe "None" is the default content type, as that's what shows up in the attributes inspector in XCode before my change and it shows the offending behavior. I'm not a mac developer so I don't know where to look up all of NSSecureTextField's attributes... maybe there is an autofill kill switch there.

@mylemans
Copy link

mylemans commented Feb 4, 2021

It would be nice to see this change in an update, as this is bothering the heck out of me (feels like I have to 'fight' this popup all the time when trying to add a new entry)

@mstarke mstarke merged commit 3cfbbb1 into MacPass:master Jun 17, 2021
@JorisBodin
Copy link

Any idea when it will be in production? :D

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

Successfully merging this pull request may close these issues.

4 participants