View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019183 | MMW 5 | Extensions framework | public | 2022-06-16 20:40 | 2022-06-23 21:16 |
Reporter | zvezdan | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Target Version | 5.0.4 | ||||
Summary | 0019183: Error with icon in uitools.addToolButton on install | ||||
Description | I 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 Information | Here is install.js: if (app.versionBuild >= 2617 && window.__currentAddonPath !== undefined) { requirejs(window.__currentAddonPath + 'init'); } | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Fixed in build | |||||