Skip to content

KeePassXC doesn´t open kdbx files from explorer #8710

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

Closed
Vanerio opened this issue Oct 30, 2022 · 23 comments
Closed

KeePassXC doesn´t open kdbx files from explorer #8710

Vanerio opened this issue Oct 30, 2022 · 23 comments

Comments

@Vanerio
Copy link

Vanerio commented Oct 30, 2022

Steps to Reproduce

  1. Double click a kdbx file in windows explorer.
  2. KeePassXC opens, but not the file.

Expected Behavior

File should be opened.

Actual Behavior

File not opened.

Context

It only happens since the last two updates.

Operating System: Windows 10

@Vanerio Vanerio added the bug label Oct 30, 2022
@Vanerio Vanerio changed the title KeePassXC doesn´t open kdbx file from explorer KeePassXC doesn´t open kdbx files from explorer Oct 30, 2022
@droidmonkey
Copy link
Member

Can't reproduce this at all. You might need to clear out your registry settings or something.

@Vanerio
Copy link
Author

Vanerio commented Oct 30, 2022

It started to happen to me since installing version 2.7.3.
I didn´t edit my registry.
KeePassXC don´t even open the kdbx file when dragging it to its desktop shortcut.

@michaelk83
Copy link

michaelk83 commented Oct 30, 2022

Just in case, check your file associations. Also make sure the file opens successfully via the Open Database function.
Might also try to delete the KeePassXC ini files - there were some previous issues where that helped (make a copy first).

@Vanerio
Copy link
Author

Vanerio commented Oct 30, 2022

Just in case, check your file associations. Also make sure the file opens successfully via the Open Database function. Might also try to delete the KeePassXC ini files - there were some previous issues where that helped (make a copy first).

Thank you for your help Michael:

  • My file association seems to be fine.
  • Yes, kdbx files can be opened via Open Database function or drag&drop.
  • Deleting ini file does not help.

@droidmonkey
Copy link
Member

I just tested this, including dragging a file to the open application, and it worked fine. Without replicating this seems like a problem very local to you. Recommend a full uninstall and reinstall.

@droidmonkey droidmonkey closed this as not planned Won't fix, can't repro, duplicate, stale Oct 30, 2022
@Vanerio
Copy link
Author

Vanerio commented Oct 30, 2022

I actually said that dragging a file to the open app works fine.
What do not work is double clicking in explorer or dragging it to the desktop shortcut.

I have just tried a full uninstall and reinstall and unfortunatelly it didn´t work.
Please let me know if you need some more info.

@droidmonkey
Copy link
Member

I also did the other methods you mentioned and it worked fine.

@Vanerio
Copy link
Author

Vanerio commented Oct 30, 2022

For me the only thing that opens is the app. I mean that when double cliking the file, the app opens, but not the file. So the filetype association is OK.
If there is something I can do to help you know what could be going on, please let me know.

@droidmonkey
Copy link
Member

That doesn't mean the filetype association is ok. That means the filetype association doesn't include the path to the file you double clicked in the call to the application.

@Vanerio
Copy link
Author

Vanerio commented Oct 30, 2022

Thanks droidmonkey
It seems that you do not want more information provided and I can not be helped.
I will not make you lose more time here.

@droidmonkey
Copy link
Member

I want to help but it is hard with limited information. Make sure this looks good in your registry:

image

and this as well:

image

@Vanerio
Copy link
Author

Vanerio commented Oct 30, 2022

Hi again droidmonkey
I had this like that, yes.
I even removed every registry entry containing "kdbx" or "keepass" and try again a new clean install. But it didn´t work.

But what it actually worked was installing KeePassXC 2.7.1. This version can open kdbx files for me from explorer.
So there must be something else going on, but I honestly don´t know how to help you or me.

@droidmonkey
Copy link
Member

droidmonkey commented Oct 30, 2022

I am using 2.7.4 without issue. No one else has reported this as a problem. And there were no code changes around the opening of files like this. Unfortunately not much more I can say on this matter.

@Vanerio
Copy link
Author

Vanerio commented Oct 30, 2022

I understand.
Version 2.7.1 is the latest one that works for me.
If you can think of anything I can do to solve this or help you (now or in the future), please I will be happy to cooperate.
Thank you.

@jjsegers
Copy link

Hi there,
I have exactly the same problem here.
The issue occurred with Windows 10 and remains also on Windows 11 22H2 (same machine) DELL XPS 15 7590

KeePassXC - Version 2.7.4
Revision: 63b2394

Qt 5.15.6
Debugging mode is disabled.

Operating system: Windows 10 Version 2009
CPU architecture: x86_64
Kernel: winnt 10.0.22621

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare
  • YubiKey
  • Quick Unlock

Cryptographic libraries:

  • Botan 2.19.1

Re-.Install didn't help (did it several times...)

Any help would be appreciated

Thanks in advance
Joerg

@droidmonkey
Copy link
Member

Unfortunately there is not much we can do. Our installer correctly placed the association in the registry. Try manually associating the files with keepassxc. Also make sure you don't have a lingering process stuck in the background.

@Vanerio
Copy link
Author

Vanerio commented Feb 20, 2023

Hi there, I have exactly the same problem here. The issue occurred with Windows 10 and remains also on Windows 11 22H2 (same machine) DELL XPS 15 7590

KeePassXC - Version 2.7.4 Revision: 63b2394

Qt 5.15.6 Debugging mode is disabled.

Operating system: Windows 10 Version 2009 CPU architecture: x86_64 Kernel: winnt 10.0.22621

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare
  • YubiKey
  • Quick Unlock

Cryptographic libraries:

  • Botan 2.19.1

Re-.Install didn't help (did it several times...)

Any help would be appreciated

Thanks in advance Joerg

Yes, still happening to me... The weird thing is that, as I said previosly, Version 2.7.1 works perfectly fine, so something must be going on.

@droidmonkey
Copy link
Member

droidmonkey commented Feb 20, 2023

Do you use a unicode heavy language for windows? This might fix the problem is so: #8782

@Vanerio
Copy link
Author

Vanerio commented Feb 20, 2023

Spanish (Spain), so me not really.

@Vanerio
Copy link
Author

Vanerio commented Feb 20, 2023

Do you use a unicode heavy language for windows? This might fix the problem is so: #8782

Bingo!!! I checked again and although Spanish uses common characters, the folder in which I have my keepass file is named with a strange unicode symbol. Renaming the folder allows me to open the file correctly.
I don´t know if this is fixable (like previous releases), but at least I know I was not crazy and a potential solution! :)
Thank you!

@Vanerio
Copy link
Author

Vanerio commented May 15, 2023

Thank you very much!!!!! :)
All my previous issues has been solved with this new update!!!

@droidmonkey
Copy link
Member

Hey that's great news!

@jjsegers
Copy link

jjsegers commented May 15, 2023 via email

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

No branches or pull requests

4 participants