Bug 482260 - 10 Brushes: the add-on breaks if an assigned brush has a comma in its name
Summary: 10 Brushes: the add-on breaks if an assigned brush has a comma in its name
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.2.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-02 23:56 UTC by cruiselinermod
Modified: 2024-03-02 23:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cruiselinermod 2024-03-02 23:56:15 UTC
SUMMARY

If a brush has a comma (,) in its name, assigning it to a slot in the 10 Brushes add-on will only work until Krita is closed.

When it's opened again, the brush (and some or all other brushes) will be unassigned.

It appears that the brush names are stored in ~/.config/kritarc, in a variable called "tenbrushes", and are comma-separated.

Removing the comma from the brush's name in Krita fixed the issue.


STEPS TO REPRODUCE
1. Name or rename a brush to something with a comma.
2. Assign the brush to a slot in the 10 Brushes add-on.
3. Close and reopen Krita.


OBSERVED RESULT
The newly set brush is no longer there. Other brushes may also be missing.


EXPECTED RESULT
The newly set brush should remain visible in the 10 Brushes window, and selectable with the appropriate keyboard shortcut.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.6.16-2-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 31.3 Gio of RAM
Graphics Processor: AMD Radeon RX 590 Series