Closed
Bug 1814103
Opened 2 years ago
Closed 2 years ago
about:translations should throttle or debounce the translations
Categories
(Firefox :: Translations, enhancement, P2)
Firefox
Translations
Tracking
()
RESOLVED
FIXED
112 Branch
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: gregtatum, Assigned: gregtatum)
References
Details
Attachments
(1 file)
Right now every keystroke is sent in for translation, it would be more reasonable to debounce or throttle the keyboard events. Also, the translations can pile up, and there is no way to cancel them. They are all naively sent in at once. It might make sense to handle this here as well.
Slow translations could be simulated by artificially putting in a setTimeout to simulate a sluggish machine. Right now on my machine the translations are pretty much instantaneous.
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D168566
Updated•2 years ago
|
Assignee: nobody → gtatum
Status: NEW → ASSIGNED
Pushed by gtatum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/91998003e07c
Debounce the translations; r=nordzilla
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox112:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•