4ch1m / mozext

Extensions / Add-Ons for Mozilla Firefox and Mozilla Thunderbird
https://www.achimonline.de/mozext
Mozilla Public License 2.0
20 stars 9 forks source link

Copy-Paste issues #19

Closed gh658804 closed 4 years ago

gh658804 commented 4 years ago

Apart from an initial Paste action to the HTML text (which worked fine), additional Copy or Paste actions in there do not work. I have tried Copying using either CTRL+C or context-menu Copy, but pasting to notepad pasted nothing.

Pasting to a new TB email however pasted this (1st image):

https://imgur.com/a/XABBwDa

Doubleclicking on it, displays the dialog that appears in the 2nd image.

4ch1m commented 4 years ago

I'm afraid I can't follow you on that.

Please be more specific/precise and explain all steps to reproduce.

Besides... telling me which versions (Thunderbird and Signature Switch) you're using would also help.

FabianWehning commented 4 years ago

I think I have the same (or similar) problem.

I am able to paste into the signature form (plain text or html) but it is not possible to retrieve the information via copying it (neither [Ctrl] + [C] or via context menu). If you try to copy the text, the clipboard is empty. Same issue in the "Import/Export" section.

gh658804 commented 4 years ago

Hey Achim,

TB 78.4.3, SS 2.3.0

Select and copy some text from a file and paste it to the editbox of Signature editor. This works fine.

Select and copy some text from the signature editor textbox to either another place of the signature editor textbox or a notepad. Nothing is pasted. It may seem like the clipboard is empty (like FabianWehning reported) but in fact the "copy" process has copied the textbox object itself in the clipboard and not its contents. You said "The images you reference show an "Advanced Property Editor"" - of course, this appears when i doubleclick on the object i've pasted in TB's editor, because TB's editor recognizes it and pastes it normally, unlike notepad which pastes nothing.

4ch1m commented 4 years ago

OK. Gotcha. I'll have a look into this.

4ch1m commented 4 years ago

Confirmed. I have no idea why that happens though.

gh658804 commented 4 years ago

May be a TB bug?

gh658804 commented 4 years ago

As a workaround and until this is fixed, is there a way to manually edit the signature settings? Are they stored in a text file or perhaps using the builtin TB config editor?

4ch1m commented 4 years ago

OK... I spent quite some time to figure out that this actually IS a bug in Thunderbird! :sweat_smile: see: options-test

I've implemented a workaround (available in the next release); hoping this will be fixed soon in the codebase.