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

2.7.9 does not load database from CLI anymore - Linux #10955

Closed
djlalle opened this issue Jun 22, 2024 · 9 comments
Closed

2.7.9 does not load database from CLI anymore - Linux #10955

djlalle opened this issue Jun 22, 2024 · 9 comments

Comments

@djlalle
Copy link

djlalle commented Jun 22, 2024

Overview

new version does not load anymore the database from linux CLI

Steps to Reproduce

keepassxc --keyfile /home/.../keyfile /home/.../database.kdbx
the same behavior if I use a password instead of the keyfile

Expected Behavior

downgraded to keepassxc-2.7.8-3
working fine, it opens the database from CLI

Actual Behavior

just start, without opening the database

Context

KeePassXC - 2.7.9
Revision: REVISION

Operating System: Linux
Desktop Env: Sway
Windowing System: Wayland

@djlalle djlalle added the bug label Jun 22, 2024
@droidmonkey
Copy link
Member

We didn't touch that code. Can you describe how you have keepassxc installed and what happens when you issue the command?

@djlalle
Copy link
Author

djlalle commented Jun 22, 2024

thanks a lot for your answer :)
Arch linux, I had installed keepassxc with pacman
and upgraded
I start keepassxc from the Swaywm config file
but I had to downgrade, since 2.7.9 start with no database

@djlalle
Copy link
Author

djlalle commented Jun 23, 2024

I can confirm that keepassxc 2.7.9-1 using this command from the terminal:
keepassxc --keyfile /home/.../keyfile /home/.../database.kdbx
start wit no database
keepassxc-2.7.8-3 with the same exact command, instead starts with the database requested

@droidmonkey
Copy link
Member

droidmonkey commented Jun 23, 2024

What Linux distro are you using? Arch? Mint?

@djlalle
Copy link
Author

djlalle commented Jun 23, 2024

Arch

@TomKTW
Copy link

TomKTW commented Jun 25, 2024

I'm suspecting that I'm getting a same issue here on KeePassXC 2.7.9 when launching the app from KDE Plasma (Wayland) launcher on Arch with one of my recently opened databases.

It should look like this (with note that others have empty list):
image

This issue has occured recently after updating the package for KeePassXC that seems to be updated on Arch repository to 2.7.9-1 about 5 days ago (previous release seems to be 2.7.8-3).

It seems that KeePassXC does actually open the database properly. However, the side bar and bottom info bar are gone and root folder is the default folder that's opened when the database is open. I'm assuming this is the actual issue that was reported.

I've tried to make a screencast to replicate this issue on its initial state:
Screencast_20240625_090855.webm

On initial start, when you open the database, everything is collapsed and root folder is open. I'm assuming that everyone in here has nothing in their root folder and instead, they're using sub folders. This way, their database is acutally loaded, but they are in an empty folder and they can't navigate around.

A workaround for this is simply going to left or bottom side of window and try to resize those bars bar back, which I've done in the screencast for the sidebar, and that state remained even after restarting the application.

Another workaround is to close the database again (without closing the application) and re-open it. This will temporarily restore the layout until the application is closed and reopened again, which will cause it to go back to "broken" state again.

After resizing both bars, it should go back to original state, as shown here:
image

If this is valid even for others, I'm assuming that KeePassXC 2.7.9 has somehow broken state of default folder, side bar and bottom bar on initial start where the first database is opened.

@droidmonkey
Copy link
Member

Related change: #10641

@mlavi
Copy link

mlavi commented Jul 7, 2024

@TomKTW described my situation exactly and workaround, using KeePassXC 2.7.9 AppImage on Linux Mint 21.3. I start KeePassXC with keepass-cli to open a database, which starts window minimized per configuration. Thanks, looking forward to a patch.

@droidmonkey
Copy link
Member

This is a duplicate of #11013

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