-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context menu not showing "Unicodify – Text transformer" #73
Comments
@jjpcorriveau A screenshot would be very helpful here, if possible. |
And could you please put your Thunderbird version here, I guess the template is a little misleading here hehe… |
|
Thunderbird 91.10 |
Thanks for the bug report. This is actually a known issue in Thunderbird, which is why the add-on is marked as "experimental". It is also documented in the ATN listing:
Hopefully bug 1716976 will be fixed soon... If you have a BMO account, it would be helpful if you could click the "Follow" button on the top of that bug, so they will prioritize fixing this. |
I just tried it by myself, so is it also known/reported that the text you select in the subject line is then not actually being replaced in the subject line, but pasted into the body? Thunderbird-Unicodify-Test-ContextMenu.mp4 |
Yes. That's it. I had not noticed this behaviour. Context menu shows "Unicodify – Text transformer" only in the subject line, never the body of the email. Then, selected text from the subject gets pasted in the body. |
Yes, that is also a known issue, see rugk/awesome-emoji-picker#49 (comment). In short, I filed bug 1641575, but they marked it as WONTFIX. I have some changes locally that would copy it to the clipboard in this case as a workaround. However, we would likely need to also display a notification to the user so they would know to then hit |
Hmm that could be a feasable workaround, however, I doubt this is in any case not that useful. Especially, if it is only for the subject. Given the main bug is soon to be fixed (see #73 (comment)), the main issue is at least solved then. Anyway yeah hmm… having a notification and a clipboard copy would be useful. |
I am not sure if the main issue "is soon to be fixed" given that I filed bug 1716976 over a year ago... Anyway, this proposed change was more to workaround the issue in your above video: #73 (comment). Technically it would work for all the fields in the compose window, although I suspect it would only be useful for the subject. |
I added this workaround to #72 and published it on ATN as version 0.5.1. I also moved that warning about the context menu not working in Thunderbird's compose body up more towards the top of the description on ATN and I added it to the "Developer Comments" section. |
They finally fixed this bug and it will appear in Thunderbird 111! Hopefully they will also uplift the fix to Thunderbird 102... |
That's not fine, guys !! ... It works for a msg whose length is no more than the height of the composer window. If you write a longer msg, then it still works at the beginning of the msg, the one you can see without scrolling. Will you re-open the issue, or should I create a new one ? |
What about the compose.setComposeDetails and getComposeDetails he told ? Doesn't it allow to replace text in the subject line ?
Thank you very much for have done this, it really helped me ! :-) |
Interesting, thanks for the bug report! I was able to reproduce the issue, but it is a Thunderbird bug, so I filed bug 1882725. I can reopen this issue while we wait for Thunderbird to fix it.
That allows changing the entire subject of the message, but add-ons have no way to determine where the selected text occurs in the subject or where the caret is.
No problem, I am glad the workaround was helpful for you. |
Thank you for reactivity. :-)
(carrot = cursor ?) OK, I see that Geoff Lankow didn't answer you. Maybe insist, explaining more what you want to do and that setComposeDetails / getComposeDetails does not allow ?
This makes the 2nd issue non-critical, unlike the 1st. |
No problem. Thunderbird typically takes a while to fix bugs, but hopefully they will be able to fix it in time for Thunderbird 128 later this year.
Yes, the caret is the blinking cursor when typing.
That bug was more focused on the autocorrection, but I am not sure if there is a great solution for this problem in general. For the Unicode font conversion feature of this add-on, one could use |
Ouf ! Have they no means to make it earlier ? How much versions between the current and 128 ?
There would be the same problem !
This should not be a problem, since we have to select the text, and it is not at the place where we need the carrot for the next modification.
I prefer you to relaunch Thunderbird on that pb, and wait to be able to do this cleanly. :-) (Note that I would expect the selection on right-click working also for these fields.) |
Thunderbird currently only has a single Web Extension developer and he is overworked, so it takes time for add-on related bugs to be fixed... It is of course possible that this could be fixed sooner, but unlikely considering it is not a regression (it never worked). Thunderbird follows the Firefox ESR release schedule, so they have one major release per year, typically sometime between June and July, and then there is a gradual automatic upgrade process after that which concludes between September and October. See the calendar for the exact dates this year: https://whattrainisitnow.com/calendar/.
This is the same problem as with the autocorrection, without the ability to run the standards JS events in those fields, there is not much we can do. |
True, that's not a regression! Then, if it can be fixed within 6 months, it's fine. :-)
Anyway, thanks to your workaround, (from my point of view) it's low-priority. :-) |
It turns out it was a regression, just an old regression from 3 years ago that no one noticed. Anyway it is now fixed in Thunderbird 125 Daily, so hopefully they will uplift it to 115 ESR in the next month or so... |
Good news, thanks for the info! |
Bug description
I select a text then right-click but "Unicodify – Text transformer" doesn't appear in the context menu.
Steps to reproduce
Actual behavior
Expected behavior
Reproducibility on test website
System
Operating system and version: Linux Mint 20.2
Browser and version: Microsoft Edge 112
Add-on version: 0.5
Possible solution
The text was updated successfully, but these errors were encountered: