Database with a KeeShare folder open on 2 devices always prompts to merge changes
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
- Create a database which is synced through a NextCloud instance A
- Create another database which is synced through another NextCloud instance B
- Make the second database a KeeSync instance for one of the folders in the first instance
- 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
Did this behavior just start happening with 2.7.11?
Yes, but that was also when I added the shared database.
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
Sure, I'll try that tomorrow when back at my desk.
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
Wondering if it was this change: https://github.com/keepassxreboot/keepassxc/blob/develop/src%2Fgui%2FDatabaseWidget.cpp#L1398-L1401