Skip to content

[BUG] Locking a note and moving in the structure hierarchy dismiss the lock marker #7

Description

@Rynaro

🐛 Bug Description

Locking a note and moving it to another place inside the folder structure, it makes the Lockdown dismiss the overlay and unlocking options.

📋 Steps to Reproduce

  1. Lock a note in the folder A
  2. Move the locked note to the folder B
  3. See the note encrypted content without the overlay and any unlocking options.

✅ Expected Behavior

Moving locked (and encrypted) must preserve the lock statuses.

❌ Actual Behavior

The note remains encrypted, but Lockdown treat as a common note. Leading users get confused.
Additionally, allowing the note to be edited could lead the note to be irrecoverable due to crypto corruption.

📸 Screenshots

If applicable, add screenshots to help explain your problem.

💻 Environment

  • Obsidian Version: 1.10.6
  • Lockdown Version: 0.15.13
  • Operating System: All
  • Installation Method: Manual

📝 Additional Context

None

🔍 Console Errors

No errors

✔️ Checklist

  • I have searched for similar issues
  • I have tested with only Lockdown enabled
  • I have included all relevant information
  • I have checked the console for errors

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions