WHAT IS THE BUG
When click the “Lock Page” or “Unlock Page” button of a large object(in my case, it’s a dissertation of about 20,000 chinese character and 20 pictures), anytype went unresponsive.
HOW TO REPRODUCE IT
- create a new object
- type in enough character
- click the “lock page button”
- See an error.
- I was able to provide you a video capture of the bug, here it is:
Anytype - 3 September 2022 - Watch Video
THE EXPECTED BEHAVIOR
Object can be locked quickly. ( in my opinion, an article of 20000+ chinese characters is far from unnormal situation)
Windows 11 Professional 22H2
- Anytype Version:
Thanks for sharing! I think there is no shame in actions that take a whole, but it should at least complete successfully and indicate it is still working. Does Anytype completely crash or does it become responsive again after a while?
After a few seconds, it went back to work. By the way, the “lock page” will automatically delect all the empty blocks, does that mean if I want to leave a blank line between two paragraphs, I have to use line break inside a block instead of creating a new block.
Good to know it started working again. That gives me the idea that adding a loading spinner is enough to mitigate the idea Anytype has crashed because it is unresponsive.
Could you make a new bug report for that? What you describe does not sound like the desired behavior.
I checked it again, and found my description above is not precise. These empty blocks didn’t be deleted, but became lower when the object is locked.
but the same thing didn’t happened on my android devices.（but line break inside a block can’t display rightly on android, which I believe someone else has reported)
Hello, I will profile this, though I know why this is happening. As for blocks - they are not deleted, blocks in read-only mode do not have height, so this is why they seem to dissapear.
This issue has been fixed by the Development Team and will be included in an upcoming release.