default-bookmark-folder icon indicating copy to clipboard operation
default-bookmark-folder copied to clipboard

Enable user to move icons

Open AMGPilot opened this issue 6 years ago • 1 comments

Hello, First I want to say that I really like this addon and wanted to thank you for making it :)

I do have a request, would it be possible to enable the user to move the icons out of the address bar to a different location in the toolbar? I would prefer it next to the "Home" button.

Thank you!!

AMGPilot avatar Feb 05 '19 09:02 AMGPilot

Hello and thank you very much! 🙂

It would be possible, but it would also mean a fair amount of changes due to technical limitations. Let me try to explain.

Firefox offers two types of "icons/buttons" an add-on can use:

  • A page action. It is an icon that lives in the address bar (like the quick bookmarking icon of this add-on). An example from Mozilla's documentation: image

  • A browser action. It is an icon that lives in the browser's toolbar (like the "quick bookmarking to folder" icon of this add-on). An example from Mozilla's documentation: image

A browser action can be moved around, but a page action cannot. At the moment, Default Bookmark Folder is using both, and an add-on can only use one instance of each icon type.

So, in order to be able to move the quick bookmarking icon, it would have to become a toolbar button (and consequently would no longer live the address bar). It would also mean that the "quick bookmarking to folder" icon/feature would have to become a separate add-on.

I hope this helps make the context a bit clearer! It is a rather important change, so I would like to look into it more before deciding if I will or not go down this path. 💭🙂

teddy-gustiaux avatar May 18 '19 01:05 teddy-gustiaux