Bug 447235 - Import from tools/import from Python plugin from web... doesn't use the configured data location
Summary: Import from tools/import from Python plugin from web... doesn't use the confi...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (show other bugs)
Version: 5.0.0-beta5
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-19 16:53 UTC by RamonMiranda
Modified: 2022-08-09 11:47 UTC (History)
1 user (show)

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 RamonMiranda 2021-12-19 16:53:56 UTC
SUMMARY
import from tools/import from Python plugin from web... doesn't work at all in Krita 5 Beta 5
In Krita 5.1.0-prealpha (git 2c9ac8b) works but puts the plugin in  C:\Users\RAMON\AppData\Roaming\krita not the 
C:\Users\RAMON\AppData\Roaming\krita5 defined in settings/configure Krita/general/resources


STEPS TO REPRODUCE
1. Change the path for resources
2. Try to import a Python plugin like Timer watch
3.  open the path to see if the pykrita folder contains the plugin

OBSERVED RESULT


EXPECTED RESULT
import the plugin and ask for restart 

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2022-01-05 14:38:45 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1281
Comment 2 Tiar 2022-08-05 21:57:02 UTC
Git commit 1ddeead2eac6943353846233147eb2fd9a0045ed by Agata Cacko.
Committed on 05/08/2022 at 21:07.
Pushed by tymond into branch 'master'.

Fix Python plugins not working in a non-default directory

M  +1    -0    plugins/extensions/pykrita/plugin/utilities.cpp

https://invent.kde.org/graphics/krita/commit/1ddeead2eac6943353846233147eb2fd9a0045ed
Comment 3 Tiar 2022-08-09 11:47:19 UTC
Git commit 09659266cf7f8d31fdaec904f2fb4411de8f2376 by Agata Cacko.
Committed on 09/08/2022 at 11:47.
Pushed by tymond into branch 'krita/5.1'.

Fix Python plugins not working in a non-default directory


(cherry picked from commit 1ddeead2eac6943353846233147eb2fd9a0045ed)

M  +1    -0    plugins/extensions/pykrita/plugin/utilities.cpp

https://invent.kde.org/graphics/krita/commit/09659266cf7f8d31fdaec904f2fb4411de8f2376