Summary: | Import Python Plugin doesn't activate the plugin | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Tiar <tamtamy.tymona> |
Component: | Scripting | Assignee: | Rebecca Breu <rebecca> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | halla, rebecca |
Priority: | NOR | ||
Version: | 4.4.1 | ||
Target Milestone: | --- | ||
Platform: | Mint (Ubuntu based) | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/3d010f44a1686d2e1bf350903345b0d9135032f2 | Version Fixed In: | |
Sentry Crash Report: |
Description
Tiar
2020-11-17 21:22:02 UTC
This isn't going to easy at all... Nope, it just needs an entry in `kritarc`, just like Script Starter does. See plugins/python/krita_script_starter/krita_script_starter.py, line 290. The only issue would be to find the exact name of the plugin to enable, but it shouldn't be that difficult either. And a restart of Krita, I thought you wanted to have the plugin activated on import, instead of just enabled. Well, right now it's two restarts (import, restart, enable, restart), automatic enabling will make it into one, so already an improvement :) A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/600 Git commit 3d010f44a1686d2e1bf350903345b0d9135032f2 by Rebecca Breu. Committed on 24/11/2020 at 17:31. Pushed by rempt into branch 'master'. Let users choose to enable imported plugins The final MessageBox informing the user about the successfully imported plugins now lets the user choose to enable them immediately. The user still needs to restart Krita, but at least now you only need to restart once, and you don't have to search through the Plugin Manager yourself. M +21 -11 plugins/python/plugin_importer/plugin_importer_extension.py https://invent.kde.org/graphics/krita/commit/3d010f44a1686d2e1bf350903345b0d9135032f2 |