keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.27k stars 1.47k forks source link

KeePassXC doesn´t open kdbx files from explorer #8710

Closed Vanerio closed 2 years ago

Vanerio commented 2 years ago

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

droidmonkey commented 2 years ago

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

Vanerio commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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:

droidmonkey commented 2 years ago

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.

Vanerio commented 2 years ago

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 commented 2 years ago

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

Vanerio commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 1 year ago

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:

Cryptographic libraries:

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

Any help would be appreciated

Thanks in advance Joerg

droidmonkey commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

Vanerio commented 1 year ago

Spanish (Spain), so me not really.

Vanerio commented 1 year ago

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 commented 1 year ago

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

droidmonkey commented 1 year ago

Hey that's great news!

jjsegers commented 1 year ago

Thanks a lot for this Update : )

Sent from Nine


Von: Jonathan White @.***> Gesendet: Montag, 15. Mai 2023 15:17 An: keepassxreboot/keepassxc Cc: jjsegers; Comment Betreff: Re: [keepassxreboot/keepassxc] KeePassXC doesn´t open kdbx files from explorer (Issue #8710)

Hey that's great news!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/keepassxreboot/keepassxc/issues/8710#issuecomment-1547845497", "url": "https://github.com/keepassxreboot/keepassxc/issues/8710#issuecomment-1547845497", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]