| Summary: | Brush presets from user-imported bundles cannot be reloaded | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Anna Medonosova <anna.medonosova> |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 4.4.2 | ||
| Target Milestone: | --- | ||
| Platform: | Android | ||
| OS: | Android 10.x | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/b8f3d90ab432194ee06fc0df9a7dd162be5adde8 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Anna Medonosova
2021-02-03 22:04:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/691 Git commit b8f3d90ab432194ee06fc0df9a7dd162be5adde8 by Sharaf Zaman.
Committed on 08/02/2021 at 12:45.
Pushed by szaman into branch 'krita/4.3'.
Replace string in single pass
Buggy behavior:
Let's say filename = "/path/filename%2something.bundle" and
res = "favorite.kpp"
Then, QString("bundle://%1:%2").arg(filename).arg(res) would be replaced as:
bundle:///path/filenamefavorite.kppsomething.bundle:favorite.kpp
when it should be replaced as:
bundle:///path/filename%2something.bundle:favorite.kpp
M +7 -7 libs/ui/KisResourceBundle.cpp
https://invent.kde.org/graphics/krita/commit/b8f3d90ab432194ee06fc0df9a7dd162be5adde8
|