[Pkg-mozext-maintainers] Bug#907740: webext-debianbuttons: significantly less convenient than the old xul-ext-debianbuttons

Francesco Poli invernomuto at paranoici.org
Sun Sep 2 18:38:38 BST 2018

On Sat, 1 Sep 2018 11:29:06 +0000 Damyan Ivanov wrote:

> Welcome to the new world of web-extensions :|

Ouch, not a good place to be...   :-(

Congratulations to the designers of the new API: forcing all the
extension developers to migrate to a new interface, in order to get
worse extensions...  :-/

On the other hand, thanks to you for your prompt and kind reply.
Much appreciated!

> The paste hapens automatically, but it is a <Ctrl-V>-kind of paste, 
> (desktop environment keyboard) not middle mouse click (x clipboard). 
> This is the only access to the clipboard that exists in the web-ext 
> API.

I cannot understand how to make the automatic paste happen.

If I select something and then hit [Ctrl+C], I still have to:

 * click on the Debian button in order to get a menu
 * paste the copied selection with [Ctrl+V] into the text field
 * click or right-click on one of the options

This looks even slower than the other, X-clipboard-based procedure
(since there is also the need to hit [Ctrl+C] and then [Ctrl+V])...

If I just use [Ctrl+C] and then click on the Debian button, nothing
happens, when I click or right-click on one of the options...
What did I fail to understand?
Am I completely off-track?

> BTW you can also click on the "disabled" buttons, which only look like 
> they are disabled.


> I agree this is different and less comfortable compared with the 
> pre-webext version. I only have hopes to ever fix the second point. 
> I guess access to the X clipboard may be added in a future firefox 
> release.

It would be great, if, at least, the extension could read the X
clipboard, without using the text field.
If this could be implemented, the text field could be completely
removed and the user could select some text and then:

 * click on the Debian button
 * click or right-click on one of the options

It would still require twice as many clicks as the pre-webext version,
but it could be considered acceptable...

> > Is there any chance to get the old-style buttons again?
> > Please let me know.
> Apart of splitting the extension in to several (ouch!), I think not.

That's really unfortunate.  :-(

 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mozext-maintainers/attachments/20180902/3a71818f/attachment.sig>

More information about the Pkg-mozext-maintainers mailing list