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

[Windows] Duplicate entries in list of recent databases (slashes versus backslashes) #3454

Closed
stefansundin opened this issue Aug 20, 2019 · 0 comments · Fixed by #3473
Closed

Comments

@stefansundin
Copy link
Contributor

This bug only affects Windows.

  • When double-clicking a kdbx file in Windows File Explorer, KeePassXC will open it using backslashes (e.g. C:\Users\MyUser\Desktop\Passwords.kdbx).
  • When using the KeePassXC "open database" dialog to open a database, KeePassXC will open it using slashes (e.g. C:/Users/MyUser/Desktop/Passwords.kdbx).

Expected Behavior

File paths should be normalized to either use slashes or backslashes.

Current Behavior

There are duplicate entries in the list of recent databases. In addition, if one entry used a keyfile, that setting will not be saved for both files.

Possible Solution

I think it would make more sense to have KeePassXC only use backslashes in file paths in Windows. But it doesn't matter much. I don't know if one is easier than the other one.

Steps to Reproduce

  1. Open a file by double-clicking it in File Explorer, and have it saved in the list of recent databases. Close the database.
  2. Open the same file using the "Open database" dialog in KeePassXC. Close the database.
  3. Notice that there are two entries in the list of recent databases. Example:
    C:/Users/MyUser/Desktop/Passwords.kdbx
    C:\Users\MyUser\Desktop\Passwords.kdbx
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants