Kunzisoft / Kunzisoft/KeePassDX
Database locks when writing a note
- Dominant language
- Kotlin
- Stars
- 7.3k
- Forks
- 401
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 1
Description
**Describe the bug**
I have some notes in a local database. I've setup the database to auto lock after 5 minutes of inactivity. In case I'm editing a note and the timer runs out, the database is locked without saving the changes. This happens only when 'Notes' is selected in templates. It does not happen with other entry types
**To Reproduce**
Steps to reproduce the behavior:
1. Set a timer to auto lock database
2. Add a new entry and select 'Notes' as entry type.
3. Edit the note till timer ends
4. The database will close automatically without saving the changes
**Expected behavior**
Either the database should be saved before closing, or the database should not lock until the note is saved, just like other entry tyoes
**KeePass Database**
- Created with: KeePassDX 3.4.5
- Version: 2
- Location: Local database
- Contains attachment: No
**KeePassDX:**
- Version: 3.4.5
- Build: F Droid
**Android:**
- Version: 11
Contributor guide
Research direction
No source file or test is named. Reproduce the auto-lock flow with a new Notes entry, then trace the auto-lock and note-saving entry points; done means edits are saved before closing or locking is deferred until the note is saved, matching other entry types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100