New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 775054 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug

Blocking:
issue 108662
issue 768520



Sign in to add a comment

Double click selection in AcroForm does not work

Project Member Reported by hnakashima@chromium.org, Oct 16 2017

Issue description

In 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.
 
Labels: -Pri-3 Pri-2
Project Member

Comment 2 by sheriffbot@chromium.org, Oct 16

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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
Labels: -Pri-2 -Hotlist-Recharge-Cold Pri-3
Status: Available (was: Untriaged)
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.
Internally, CPWL_Edit::OnLButtonDblClk() does a SelectAll(). I guess that's better than nothing.
Owner: thestig@chromium.org
Status: Assigned (was: Available)
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.
Project Member

Comment 6 by bugdroid1@chromium.org, 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