Double click selection in AcroForm does not work |
||||
Issue descriptionIn an AcroForm edit or text area, selecting a word by double clicking it does not work. 1. Open https://tcpdf.org/examples/example_054/ 2. Double click a word on the text area to select it. Expected: The word is selected. Actual: Nothing happens.
,
Oct 16
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 16
There's no public API in PDFium for double clicking. Internally, there is IPDFSDK_AnnotHandler::OnLButtonDblClk(), but that has no callers. It may just need to be hooked up.
,
Oct 16
Internally, CPWL_Edit::OnLButtonDblClk() does a SelectAll(). I guess that's better than nothing.
,
Oct 16
So first, we need to add a public API. https://pdfium-review.googlesource.com/c/pdfium/+/44130 Then we need to use it on the Chromium side.
,
Oct 18
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3fb9a5ed5f0e4ecdc247dfa76efcef904dba2d9c commit 3fb9a5ed5f0e4ecdc247dfa76efcef904dba2d9c Author: Lei Zhang <thestig@chromium.org> Date: Thu Oct 18 06:56:58 2018 Handle double clicks in PDF forms. BUG=775054 Change-Id: I08746100815d3c7b05f6c181253841942481a629 Reviewed-on: https://chromium-review.googlesource.com/c/1285316 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Cr-Commit-Position: refs/heads/master@{#600675} [modify] https://crrev.com/3fb9a5ed5f0e4ecdc247dfa76efcef904dba2d9c/pdf/pdfium/pdfium_engine.cc |
||||
►
Sign in to add a comment |
||||
Comment 1 by hnakashima@chromium.org
, Oct 16 2017