https://bugs.kde.org/show_bug.cgi?id=440311
Bug ID: 440311
Summary: Creating nameless brush tip from clipboard does not
save tip correctly and can make krita crash.
Product: krita
Version: nightly build (please specify the git hash!)
Platform: Other
OS: Other
Status: REPORTED
Severity: normal
Priority: NOR
Component: Resource Management
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 140346
--> https://bugs.kde.org/attachment.cgi?id=140346&action=edit
crash log
SUMMARY
Creating nameless brush tip from clipboard does not save the brush tip file
correctly. Also this causes the current version of krita to crash when choosing
a preset that has it set as it's brush tip. The crashing does not happen with
an older build I had been using (d01cd76e94), though the general problem does.
I've lost several tips to this, but just didn't really dig into why at the
time.
STEPS TO REPRODUCE
1. Create a new file, draw something. Select and copy.
2. Create brush tip from clipboard, don't name it.
4. Restart krita.
To make it crash, do the same but save a brush preset before restarting, then
try to select it after restart. I've also had problems going to the predefined
brush tips in the brush editor making things crash using a database that had
several problematic brush presets, but could not replicate with a fresh one.
OBSERVED RESULT
The brush tip disappears on restart, probably because the brush tip file is
empty/invalid. In the log I see `dependent resource "2021-07-26T18:13.gbr"
misses.` when I open the brush presets list. In the older version I don't get
that, instead when I select the brush I get: `Using fallback brush
brushFileName = "2021-07-26T18:13.gbr"`
In the resources folder I see it saves a file with a date for a name (e.g.
2021-07-26T18) when I save the brush, but it has no extension or size. Also, I
wonder if the lack of the part after the colon in the filename is part of the
problem?
If I name the tip, this doesn't happen. A proper .gbr file is created.
Strangely, deleting the file or even the database, does not help, still
crashes. The only fix is deleting the preset manually or using an older build
of krita to "fix" the preset and assign a properly saved tip to it, then open
in new krita.
SOFTWARE/OS VERSIONS
Windows 10
Krita: 178019461d
--
You are receiving this mail because:
You are watching all bug changes.