Read-only mode prevents Toggle blocks and @mentions from being interacted with

Describe the bug
When enabling the Lock feature introduced with Anytype Android 0.6.0, toggle blocks can no longer be interacted with - they can’t be opened or collapsed.

Update: Content in Code Blocks also can’t be selected (and copied) when the page is in lock mode on Android.

To Reproduce

  1. Open an Object Canvas with a Toggle block.
  2. Enable read-only mode via the meatball menu › Lock
  3. Attempt to open or close the toggle block. The app should present a toast message stating “This object is locked”, despite the action being taken (opening the toggle block) not directly causing modification to the object.

Expected behavior
I’d have expected the Toggle Block to work despite read-only mode being enabled, as it is not an action that causes modification to the object canvas.

System Information:

  • OS: Android 12, One UI 4
  • Device Manufacturer/Model: Note 20 Ultra - SM-N986N
  • Anytype Version: 0.6.0

Additional Information

5 Likes

It also appears that @mentions also cannot be clicked on while in read-only mode. Link to object works perfectly, however.

2 Likes

yes can confirm the above bugs

1 Like

Thanks, will be fixed in the next update!

2 Likes

A small update to this issue - content in Code Blocks also can’t be selected (and copied) when the page is in lock mode on Android.

Please stay safe!

This (both the @mentions and toggle block issue) has been fixed with Anytype Android 0.6.1. Thank you!

1 Like