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

[App] Local Database is shown twice #337

Closed
akuropka opened this issue Jan 23, 2024 · 8 comments
Closed

[App] Local Database is shown twice #337

akuropka opened this issue Jan 23, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@akuropka
Copy link

Description
My local databse is shown twice in the database overview.

How to reproduce
Steps to reproduce the behavior:

  1. Add a database through iTunes File Sharing.
  2. Open app and load databse.
  3. Close app and reopen.

Expected behavior
I only see the database once.

Actual behavior
I see the database twice.

Environment:

  • Device: iPhone 14 Pro Max
  • OS: iOS 17.3
  • App Version: 1.48.142 Pro

Screenshots
Screenshot 2024-01-23 at 16 38 36
Screenshot 2024-01-23 at 16 38 54
Screenshot 2024-01-23 at 16 39 11

@keepassium
Copy link
Owner

I've updated to 17.3, but cannot reproduce this… Following the suggested steps, I end up with a single file in "On My iPhone → KeePassium Pro → Local copy". Which is the expected result.

Based on your screenshots, it looks like you have the same database stored twice, in different folders of "On My iPhone". One file is directly in "KeePassium Pro". The other one is somewhere in "On My iPhone".

It looks like the "somewhere" file might be some leftover link from an earlier database version. What happens if you remove that database from KeePassium? (The confirmation dialog should say "Remove", not "Delete".)

@akuropka
Copy link
Author

After removing I can access the database within the app and select entries in Safari but it cannot fill it in. Please see by yourself what happens... I think this is the best way to show:
RPReplay_Final1706058888

@keepassium
Copy link
Owner

Thank you, Andreas. I can reproduce the issue.

After some analysis, the bug is courtesy of iOS 17.3 changing how app extensions (such as AutoFill) resolve file references created by the main app. I have filed it as #338. We'll see if it can be fixed, or we have to revert to the ancient times where AutoFill worked completely independently from the main app.

@keepassium keepassium self-assigned this Jan 24, 2024
@akuropka
Copy link
Author

I didn't keep track in detail of it but the issue exists already since some time.
Maybe it is possible to combine both (best with one time opening only) and hide the other one in the overview.
Thanks for your attention.

@keepassium
Copy link
Owner

I didn't keep track in detail of it but the issue exists already since some time.

Given the nature of the underlying issue (#338), I believe there will be many people affected soon. So chances are, it is indeed a 17.3 (or at least 17.2) "innovation".

Maybe it is possible to combine both (best with one time opening only) and hide the other one in the overview.

This would probably cause more confusion than it solves. A possible workaround is to move the database outside of "On My iPhone / KeePassium" and add it to both the app and AutoFill. Then there will be only one database listed.

@akuropka
Copy link
Author

What I noted as well is that within the app „both“ databases can be accessed.

@keepassium
Copy link
Owner

The underlying issue (#338) was fixed in iOS 17.4. So if you remove the duplicate file(s), both the app and AutoFill should show local databases normally.

@akuropka
Copy link
Author

Did a rough check and seems to work now.

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

2 participants