View Issue Details

IDProjectCategoryView StatusLast Update
0019183MMW 5Extensions frameworkpublic2022-06-23 21:16
Reporterzvezdan Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status newResolutionopen 
Target Version5.0.4 
Summary0019183: Error with icon in uitools.addToolButton on install
DescriptionI want to make add-ons that don't require restart after install and uninstall. I have one add-on that has a toolbar button and it installs almost fine calling init.js from install.js without requiring restart, but only if I specify any built-in icons for that toolbar button.

However, if I specify my own icon supplied with the add-on, it generates error message on install. The same init.js with the same toolbar button with my icon works fine after restart of the program.

The screenshot is attached.
Additional InformationHere is install.js:
if (app.versionBuild >= 2617 && window.__currentAddonPath !== undefined) {
    requirejs(window.__currentAddonPath + 'init');
}
TagsNo tags attached.
Attached Files
screenshot.24.png (24,810 bytes)   
screenshot.24.png (24,810 bytes)   
Fixed in build

Activities