Working directory plugin creator
Reported version
3.0
Type
Plugins
Severity
S5 - Suggestion
Status
closed
Regression
No
Workaround
No
Project
It would be really useful if the working directory of the plugins run through the "Plugin Creator" would be the same of the plugins run through the user interface. Indeed, when a plugin is run through the "Plugin Creator", the working dir is the user home (at least on Linux); instead, when it is run through the normal user interface, the working directory is the plugin directory.
Code for testing (also attached):
import QtQuick 2.0 import MuseScore 1.0 MuseScore { menuPath: "Plugins.working dir" description: "working dir test" version: "1.0" id: mscore onRun: { console.log("hello world") console.log(Qt.resolvedUrl(".")) } }
Attachment | Size |
---|---|
test.qml | 296 bytes |
Fix version
3.4.0
Comments
Fixed in branch master, commit 679708edc3
fix #275293: fix working directory for plugins edited in Plugin Creator
Automatically closed -- issue fixed for 2 weeks with no activity.