You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Colored strokes don't work in Version 0.15.1. All notes containing colored strokes opened in that Version will get corrupted. I think the reason for that is, that the new BSON file format uses int64 instead of int, which is not compatible with the way colors are stored. color = Color(json['c'] ?? defaultColor.value); in stroke_properties.dart raises an exception because of that.
To reproduce
Create a note using colors
Close and reopen the note
It is corrupted
Expected behavior
Not corrupting the note
Saber version
v1.15.1 PlayStore
Device
Device: Samsung Galaxy Tab S7 FE
OS: Android 13
Anything else?
No response
The text was updated successfully, but these errors were encountered:
I noticed, that color values stored in old JSON files are greater than 2^32, which is probably the reason for them being Int64. But I don't know, how the values got so big.
Describe the bug
Colored strokes don't work in Version 0.15.1. All notes containing colored strokes opened in that Version will get corrupted. I think the reason for that is, that the new BSON file format uses int64 instead of int, which is not compatible with the way colors are stored.
color = Color(json['c'] ?? defaultColor.value);
in stroke_properties.dart raises an exception because of that.To reproduce
Expected behavior
Not corrupting the note
Saber version
v1.15.1 PlayStore
Device
Anything else?
No response
The text was updated successfully, but these errors were encountered: