User-installed extension leads to duplicate menu item on Linux
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
STR:
* Using Inkscape 0.91 from Ubuntu 16.04 repos
* Install the Eggbot extensions from https:/
Inkscape 0.91 includes the "Hershey Text..." extension in the Render menu. The Eggbot extensions contain an updated version of this extension with the same name.
Result:
* Two menu items in the Render submenu called "Hershey Text...", both of which trigger the user-installed version of the extension.
Expected:
One of the following:
A) A single menu item for the user-installed extension
B) A single menu item for the most recently-installed extension
C) A single menu item for the extension with the higher version number
D) (Not as good) Two menu items, one for each version of the extension, ideally with one of the names tweaked programmatically to disambiguate
I think it's better to have just one entry. It seems to me that .inx files contain neither a unique "extension ID", nor a version number, so one has to determine whether two extensions are "the same" using the name (a bit error-prone) and then decide which one is preferred using some data external to the extension.
I would propose that user-installed extensions always override built-in extensions of the same name.
Gerv
Best practice here may be to suggest that user-installed extensions (if having the same name as those bundled) should be installed in the main extensions directory itself, rather than in ~/.config/ inkscape/ extensions/