Closed Bug 1324625 Opened 7 years ago Closed 7 years ago

[jsplugins] arrow-left and arrow-right don't work when I type in pdf form

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ywu, Assigned: ywu)

References

Details

arrow-left and arrow-right can't move the caret in pdf form.
Group: mozilla-employee-confidential
A note for me. 

After tracing a bit on chromium, arrow-left and arrow-right go into PDFiumEngine::OnKeyDown and after calling|FORM_OnKeyDown|, the caret moves. I am going to check (1) If we do carry "arrow-left" and "arrow-right" into pdfium+wrapper properly via "keydown". (2) If (1) is true, we need to check if pdfium+wrapper do call|FORM_OnKeyDown| in our own code.
The version of pdfium+wrapper's binary that we are using is built 2 months ago. However, there are some updates in pdfium that are related to "onkeydown". I tried to build the binary of Wed Nov 9 and it is working fine on xos to move caret to left and right by using arrow-left and arrow-right. We will need to test how things are going on linux and update the binaries.
This is the bug which has been fixed in pdfium itself. You can update your pdfium binary to the version after 2016 Nov. where you can find it's been fixed.

Thanks.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.