about:translations stops working until reloading the page
Categories
(Firefox :: Translations, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | fixed |
People
(Reporter: gerard-majax, Assigned: nordzilla)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Not sure exactly of the STRs, but it has happened recurrently for me recently.
STR (hopefully):
- Open about:translations
- Source language as German
- Target language as French
- Paste some german text in the input field
- Translation works
- Switch to another page, select new text
- Paste in input the new text
Expected:
Translation updates
Actual:
Sometime not. You need to reload.
I dont know if it matters if I select all then remove, or just select all and paste over.
There was no error visible in consoles.
| Assignee | ||
Comment 1•2 years ago
|
||
(In reply to :gerard-majax from comment #0)
Thanks for reporting this!
I discovered this issue just earlier this week while working on Bug 1870316, but I hadn't had a chance to file an individual bug for this. Moreover, my patch for Bug 1870316 should fix this bug as well, but we can confirm when it lands.
The issue is that the Translator class that manages communication with the TranslationsEngine for the about:translations page is lacking logic to detect if the TranslationsEngine has closed the channel of communication with the MessagePort from the other end.
Currently, when this happens, about:translations continues to send requests over a port that has been closed.
I will assign this bug to myself so someone else doesn't pick it up in the meantime. I'm hoping to get my patch landed this week so this should be fixed soon.
| Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Comment 4•2 years ago
|
||
| bugherder | ||
Updated•2 years ago
|
Description
•