keepassxc icon indicating copy to clipboard operation
keepassxc copied to clipboard

Database with a KeeShare folder open on 2 devices always prompts to merge changes

Open jurgenhaas opened this issue 3 months ago • 6 comments

Have you searched for an existing issue?

  • [x] Yes, I tried searching and reviewed the pinned issues

Brief Summary

Having a database with 1 folder configured to share another database, and then having that database open on my laptop and my desktop at the same time, prompts me on each device regularly (every 30 seconds or so) that the database got changed, although there hasn't been any activity on either device.

Steps to Reproduce

  1. Create a database which is synced through a NextCloud instance A
  2. Create another database which is synced through another NextCloud instance B
  3. Make the second database a KeeSync instance for one of the folders in the first instance
  4. Only open the first instance, but do that on 2 different devices

From now on, the change prompt shows every 30 seconds or so.

Whether the NextCloud sync is relevant here, I don't know. Just described my setup which shows that behaviour.

Expected Versus Actual Behavior

No response

KeePassXC Debug Information

KeePassXC - Version 2.7.11
Revision: 6a2ed32

Qt 5.15.3
Debugging mode is disabled.

Operating system: Ubuntu 22.04.5 LTS
CPU architecture: x86_64
Kernel: linux 5.15.0-161-generic

Enabled extensions:
- Auto-Type
- Browser Integration
- Passkeys
- SSH Agent
- KeeShare
- YubiKey
- Secret Service Integration

Cryptographic libraries:
- Botan 2.19.1

Operating System

Linux

Linux Desktop Environment

None

Linux Windowing System

None

jurgenhaas avatar Nov 29 '25 11:11 jurgenhaas

Did this behavior just start happening with 2.7.11?

droidmonkey avatar Nov 29 '25 12:11 droidmonkey

Yes, but that was also when I added the shared database.

jurgenhaas avatar Nov 29 '25 13:11 jurgenhaas

Do you mind testing with 2.7.10 portable version to confirm if this is a new behavior? I made a pretty important change to keeshare merge behavior and I hope I didnt introduce a bug.

https://github.com/keepassxreboot/keepassxc/releases/download/2.7.10/KeePassXC-2.7.10-x86_64.AppImage

droidmonkey avatar Nov 29 '25 13:11 droidmonkey

Sure, I'll try that tomorrow when back at my desk.

jurgenhaas avatar Nov 29 '25 15:11 jurgenhaas

I can confirm that this issue doesn't happen in 2.7.10

However, I now went back to 2.7.11 and the problem is gone there too. Before I tested with 2.7.10 I tried with 2.7.11 and the issue was still there. But after I tried with 2.7.10 and came back to 2.7.11 the issue is gone. That's a bit strange.

What I did notice while running in 2.7.10 was a regular notice in the command line from where I launched the AppImage: "Unknown Reference element KeepGroups", but that's probably unrelated.

Oops, while writing this, the change prompt appeared again. So, it took much longer than before, but the issue is obviously still there in 2.7.11

jurgenhaas avatar Nov 30 '25 09:11 jurgenhaas

Wondering if it was this change: https://github.com/keepassxreboot/keepassxc/blob/develop/src%2Fgui%2FDatabaseWidget.cpp#L1398-L1401

droidmonkey avatar Nov 30 '25 13:11 droidmonkey