Describe the bug
Changing the color of a tag is reverted back to its own color when I change the color of a different tag assigned to the same relation
To Reproduce
Steps to reproduce the behavior:
Go to a page which has a tag relation
Change the color of one tag
Change the color of another tag to the same relation
You can see the previously changed tag color is reverted to its original color
Expected behavior
A clear and concise description of what you expected to happen.
System Information:
OS: Fedora SIlverblue
Anytype Version: 0.21.1
Additional context
The tags seems to have a mind of their own
It would be great if the color of the tags are also backed up to the cafe node since every time I do a complete sync from the cafe node / with updates, the tag colors seems to be changed from what I change them to. I’d raise a separate request if the team / community feels it should be addressed separately.
Workaround
Assigning the tag colors from a set seems to make them stick
Other than the colors reverting back to the original colors, names reverts to their original names too. In other words, renamed tags wont be saved.
To start fresh,
I tried creating a new tag and a new relation, and they don’t have this rename, color, or deletion problems when you change them in sets.
but the problem occurs (even with new tags/relations) when you started to change the relations from the page.
From there on, I wasn’t able to delete/rename my tags. They (tag B) return back to their original names when you change another tag (tag A) color or name. Vice versa.
There’s something buggy the moment you touch the relations within pages.
This does not yet seem to be resolved, but the behavior is quite strange: colors do never seem to be saved when you only change the colors without adding the tags, but only sometimes the change is reverted when you do add them.
Strangely, since the release of 0.27.0, I couldn’t replicate this issue with tags, however after closing and opening Anytype today, all of the issues have returned, and some changes that were previously made and successfully saved (without issue for several days), have been reverted .
We are in the middle of reworking relations and options completely from technical point of view - the way they are stored and the way we work with them, so all problems with tags and stuff will be hopefully gone for good after that work is finished.
It started in February, lol =) This is actually a prerequisite to Inline sets, so I will start working on them as soon as this is complete. I think 2-3 months and Inline sets would be available.