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

macOS: Quick AutoFill is broken #392

Open
TheFrenchGhosty opened this issue Oct 12, 2024 · 6 comments
Open

macOS: Quick AutoFill is broken #392

TheFrenchGhosty opened this issue Oct 12, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@TheFrenchGhosty
Copy link

Description

When using Quick AutoFill in Safari on macOS, the dialog will pop up, but when the KeePassium "box" open, nothing will work and it will be stuck on an empty screen, this box isn't possible to be closed, so Safari has to be quit.

Using "normal" AutoFill works, it only happens with Quick AutoFill.

How to reproduce

  • Go to a website you have credentials for
  • Try to use QuickAutofill

Expected behavior

It works (and the window can be closed)

Screenshots

Screenshot-2024-10-12-17-13-52@2x

Environment:

  • Device: mac
  • OS: macOS Sonoma
  • App Version: 1.53 (latest)

Additional context

Maybe related to #259

@TheFrenchGhosty TheFrenchGhosty added the bug Something isn't working label Oct 12, 2024
@feld
Copy link

feld commented Oct 14, 2024

Did you import a Keepass database that was created elsewhere? I had this happen and the issue was that the autofill functionality here has some limitations (memory usage??) and you need to change your Keepass database to the default Keepassium encryption settings: ChaCha20, Argon2d, 100 rounds, 1MB memory usage, 2 threads

That solved the problem for me

@TheFrenchGhosty
Copy link
Author

@feld

Did you import a Keepass database that was created elsewhere?

I am using the same database as I'm using in KeePassXC yes, it was created in KeePassXC

you need to change your Keepass database to the default Keepassium encryption settings: ChaCha20, Argon2d, 100 rounds, 1MB memory usage, 2 threads

I'd rather use the default from KeePassXC... those should work if the DB is unlocked already (it works on iPadOS)

@svezg
Copy link

svezg commented Oct 22, 2024

Same issue here; it does not happen every time but more than half of the attempts.

@tibideky
Copy link

Same issue here, for me it happens every time when using Quickfill (autofill works ok without Quickfill)

@keepassium
Copy link
Owner

Hello everyone, sorry for the long silence.

I can reproduce the issue. Apparently, AutoFill lifecycle has changed again, so the system now calls AutoFill methods in a different order than KeePassium expects. This had happened before and AutoFill is already a patchwork of conditional code that "mostly works" on iOS 15-18 and macOS 12-15. Fixing it with yet another patch would likely break things on older systems.

So our plan is to drop older systems, increasing the the minimum requirement to iOS 17 and macOS 14 (the ones we can actually test), then re-analyze the current AutoFill lifecycle, and rewire things accordingly. This is at the top of the queue, but might take some time to finish. Stay tuned!

@keepassium
Copy link
Owner

Just uploaded an update (1.54.156), please give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants