external-application-button icon indicating copy to clipboard operation
external-application-button copied to clipboard

Unable to change the icon (FF on Windows and Debian)

Open jsbien opened this issue 4 years ago • 3 comments

I use Browse and select a 32x32 png image and "No file selected" is replaced by its name. I click on Update Application and get again "No file selected". Am I doing something wrong?

jsbien avatar Nov 05 '20 08:11 jsbien

browser extensions are only permitted to change the toolbar/browser-action icon (not the right-click context menu icons). So when you press the update, the toolbar icon should get changed. Since the extension reloads the options page, the standard input has no access to the selected file anymore, however, the extension has an internal copy of the image.

andy-portmen avatar Nov 07 '20 12:11 andy-portmen

I'm still confused. What is the meaning of the default value "icon": "/data/icons/app.png"? app.png is this: app but I never seen it displayed.

jsbien avatar Nov 08 '20 10:11 jsbien

This is the default icon if the user does not provide an icon when adds a new application.

andy-portmen avatar Nov 29 '20 13:11 andy-portmen