Summary: | Text shapes dissappear on saving | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Kubuntiac <user581> |
Component: | Tools | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED WAITINGFORINFO | ||
Severity: | critical | CC: | dimula73, lukast.dev |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Chakra | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
KRA file which had two text shapes and a vector curve shape added before saving
KRA file with glitching text SCreen grab of moving the text shape |
Le me look at the bug Git commit 3f8f315b83e296f41340a36767425c2983d230a6 by Lukáš Tvrdý. Committed on 26/01/2012 at 18:53. Pushed by lukast into branch 'master'. Fix loading of the text shape Manifest file was not parsed. Mimetype from manifest is used for determining the correct shape factory. As this information was not present, the shape could not be identified and sometimes it was UnavailShape or nothing. This could possibly fix loading of ODG files in Krita too. M +3 -0 libs/odf/KoOdfLoadingContext.cpp http://commits.kde.org/calligra/3f8f315b83e296f41340a36767425c2983d230a6 I fixed the loading. Now the saving is broken somehow. There is still '?' shape instead of text shape on layer with the vector path. The problem is now in saving. Can you try to recreate some document and describe the steps that lead to broken text shape? Created attachment 68279 [details]
KRA file with glitching text
Created attachment 68280 [details]
SCreen grab of moving the text shape
Ok, so I tried this again.
Now when I load the file, it doesn't show a ? any more, however it also only shows one small cropped rectangle of the overall text. I can move the rectangle, and it leaves a trail, like it's not redrawing the background as it's moved.
I'll attach the original .kra file and a screengrab.
Calligra v2.3.85-966-g82fe970
I just followed the steps to reproduce listed in the original report. I can't reproduce it on Fedora, deevad tested on Kubuntu 11.10. Loading should be fine. Saving might have a bug, but I don't know the steps to create the corrupted document (thus '?' shape displayed) attached as "KRA file which had two text shapes and a vector curve shape added before saving". You can still reproduce the problem with loading/saving? Are you able to create again the document "KRA file which had two text shapes and a vector curve shape added before saving"? Glitching should be filled as separate bug report. Works for me on OpenSUSE 11.4. Tested on Latin and Russian letters. It saves and loads. The only trouble is, I cannot create a textshape by clicking with the text tool on the canvas. I have to drag a textshape from "Add Shape" docker. Probably, this is the reason of the success. |
Created attachment 67565 [details] KRA file which had two text shapes and a vector curve shape added before saving Version: svn trunk (using KDE 4.7.4) OS: Linux Text shapes do not appear to be saving / loading correctly. Most of the time when I reload a KRA that had a text shape, the text shape has simply disappeared, although sometimes it will load a question mark with a box around it (see attached kra file). The Vector layer it was on still exists. Changing the visibility of the layer off and on doesn't help. Vector curves seem to save/load just fine. Reproducible: Always Steps to Reproduce: 1. Create a new custom file (default settings) 2. Choose the text tool and drag somewhere on Canvas to create text. 3. Save the file. 4. Open the saved file. Actual Results: The text's vector layer still exists, but the text shape itself does not appear Expected Results: Text shape appears as it did before saving. OS: Linux (x86_64) release 3.1-CHAKRA Compiler: gcc Krita revision: v2.3.85-474-g2215d10