Bug 409333 - Vector Layer contains lines and non-ascii characters corrupted and missing all data after re-open
Summary: Vector Layer contains lines and non-ascii characters corrupted and missing al...
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Layers/Vector (show other bugs)
Version: 4.2.0
Platform: Other Microsoft Windows
: NOR critical
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 409334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-30 17:00 UTC by nyaachen
Modified: 2019-07-01 08:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Krita logfile and the buggy file (810.48 KB, application/x-zip-compressed)
2019-06-30 17:00 UTC, nyaachen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nyaachen 2019-06-30 17:00:20 UTC
Created attachment 121233 [details]
Krita logfile and the buggy file

SUMMARY
While I have Krita to graph an important work using the vector function, I found it just corrupt all my data in vector layer after i save it. After a suddenly crash it corrupted all my data. Then I create another one with autosaving to 1 min once. After i finish my work, save the file with no error information, close it to edit a new file, and then when i reopen it all the content in the vector layer disappear. Even with a third time I re graph all item in vector layer, saved once again with no error reported. When i reopen it is empty with all ojects missing once again. Now I'm completely disappointed with Krita.


STEPS TO REPRODUCE
1. create an vector layer with some chinese text object and graphs and lines and so on.
2. draw some symbol with your pen(opening a new layer)
3. save the file, close krita, reopen the file

OBSERVED RESULT
all content in vector layer is missing in Krita.
the thumbnail in explorer shows that the file is all fine, the vector content exists.


SOFTWARE/OS VERSIONS
Windows: Windows 10 1803 Professional

ADDITIONAL INFORMATION
Comment 1 Tiar 2019-06-30 17:02:20 UTC
*** Bug 409334 has been marked as a duplicate of this bug. ***
Comment 2 Tiar 2019-06-30 17:07:02 UTC
Can you please copy here some of the chinese text you tried to save in your file that causes the data loss after saving and loading? Also is the 2. step necessary to reproduce?
Comment 3 nyaachen 2019-06-30 18:03:10 UTC
Well it seems after a reboot of my system it somehow does not reproduce the problem. 
Now I wonder it was a rare bug as previously I encountered Krita Crashed as it happened to make an autosave when I was drawing a curve in vector mode and then it directly crashed.
The backup history kra~ file shows that the content in the vector layer is already corrupted and could not be load before step.2 .But once again I found the thumbnail in both Krita and explorer displayed normal. So it is probably a random byte changed and thumbnail buffered the content.
Comment 4 Halla Rempt 2019-07-01 08:10:33 UTC
I'm afraid I cannot reproduce the issue either, the vector layer loads fine for me. I'm not sure Krita is the best application for this sort of image, though -- it looks more like a job for inkscape :-)

I'll close this bug for now, if it happens again, please reopen it.