Open varjolintu opened 1 month ago
This is likely the cause of https://github.com/keepassxreboot/keepassxc/issues/11345
Just having a note in the entry does not trigger this. Custom data is needed.
The note is a distraction, has nothing to do with the issue
Nevermind these two issues are completely unrelated
Overview
If an entry has custom data and it is edited, pressing OK without changing anything will trigger
CustomData::updateLastModified()
and the entry will be set as modified even if no data has been changed.In this case the call stack shows:
Regression from https://github.com/keepassxreboot/keepassxc/commit/e4eee897f9fb931d8081f9b70da0b0f1e6a8b9b8
Steps to Reproduce
Expected Behavior
If nothing has been changed, do not change the entry state. Maybe
CustomData::copyDataFrom()
shouldn't change the last modified value?Actual Behavior
Entry is set to modified state.
KeePassXC - Version 2.8.0-snapshot (current develop branch) Revision: d57d167
Operating System: macOS