sidebery icon indicating copy to clipboard operation
sidebery copied to clipboard

FEATURE REQUEST: Custom icon: local file selection instead of base64

Open boldcompany opened this issue 3 years ago • 1 comments

Description

Currently, sidebery supports automatic loading of remote icons of a variety of formats. The user does not have to do anything special other than set appropriate add-on permissions and then include the URL string, such as... ex: https://news.ycombinator.com/y18.gif

However, local icons do not work the same way. The user must manually enter a prefix... ex: data:image/png;base64, and then provide a base64-encoded icon... ex: R0lGODlhEgASAKIAAP/jyvihV/aKLfmxc/////9mAAAAAAAAACH5BAAAAAAALAAAAAASABIAAAMpWLrc/jDKOQkRy8pBhuKeRAAKQFBBxwVUYY5twXVxodV3nLd77f9ASQIAOw== which is probably counterintuitive to most users.

It would be very convenient if the user could simply enter, for example: C:\Users\User1\Desktop\icon.png ...and sidebery would process and load the png automatically, as it does with the remote file.

boldcompany avatar Oct 04 '22 14:10 boldcompany

I agree that adding base64 icons is not intuitive, although I feel like accessing file paths as described may run into some permission issues... Perhaps a better way to go about it would be to use an upload file dialog?

danielnichols avatar Oct 06 '22 05:10 danielnichols

Looks to be solved in stable too, thank you @mbnuqw!

quazar-omega avatar Jan 04 '24 09:01 quazar-omega

Available from v5.0.0

mbnuqw avatar Mar 08 '24 15:03 mbnuqw