Makes it possible to define a custom location for the user's resources.
If the custom location is empty, the default is used.
Details
Details
- Reviewers
dkazakov woltherav - Group Reviewers
Krita - Commits
- R37:1222105b9a86: Make the resource location configurable
Diff Detail
Diff Detail
- Repository
- R37 Krita
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Ok, so the crash is fixed now. There are two small problems though:
- When there is no path override is set, then the line between the label and a button shows nothing. The user would expect seeing the default path for the resources here. At first I couldn't even find this option, because it is basically an empty space :)
- Pressing "Cancel" in the folder selection dialog resets the custom resources patch. This is really a bug.
- Select any folder as a resource path
- Press ok in the folder selection dialog
- Now you see the patch in the label in the middle
- Start selecting the new path again, but press Cancel in the folder selection dialog
- The patch is reset instead of just being untouched. That is very unexpected behavior
- [BLOCKER] The new resources path is used only for saving resources, not for loading
- Set a new resource path
- Restart Krita
- Create new preset, save it, see it appeared in the custom resources folder
- Restart Krita
- All the resources are loaded from the old location :( Newly saved resource is not here anymore.