New issue
Advanced search Search tips

Issue 811331 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 62400



Sign in to add a comment

Mouse pointer state is incorrectly changed in XFA form

Project Member Reported by hnakashima@chromium.org, Feb 12 2018

Issue description

On an XFA-enabled build:

1. Open https://www.canada.ca/content/dam/ircc/migration/ircc/english/pdf/kits/forms/imm5257e.pdf
2. Hover the mouse pointer over a text edit.
3. Click the text edit to select it.
4. Move the pointer out of the text edit area.

Expected: Mouse pointer should become an "I" bar only while hovering over the text edit.
Actual: Mouse pointer becomes an "I" bar when the edit is selected. It does not revert back when moved out of the text area.

 
Cc: hnakashima@chromium.org
 Issue pdfium:1012  has been merged into this issue.
Project Member

Comment 2 by bugdroid1@chromium.org, Feb 16 2018

The following revision refers to this bug:
  https://pdfium.googlesource.com/pdfium/+/1087ebcd9a2b59c540b80f8a1f3275ae1ff6bcc9

commit 1087ebcd9a2b59c540b80f8a1f3275ae1ff6bcc9
Author: Henrique Nakashima <hnakashima@chromium.org>
Date: Fri Feb 16 19:31:39 2018

Fix mouse pointer in XFA forms.

This CL changes the XFA code in FPDFPage_HasFormFieldAtPoint() to
return the actual form field the mouse is over, and not always
FormFieldType::kXFA.

Bug:  chromium:811331 
Change-Id: I4157f58d057972dc2f4e79036493e079c611c9ec
Reviewed-on: https://pdfium-review.googlesource.com/26970
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>

[modify] https://crrev.com/1087ebcd9a2b59c540b80f8a1f3275ae1ff6bcc9/fpdfsdk/fpdfformfill.cpp

Project Member

Comment 3 by bugdroid1@chromium.org, Feb 20 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/58afdff3757e338057e986618b291c2e5829676d

commit 58afdff3757e338057e986618b291c2e5829676d
Author: Henrique Nakashima <hnakashima@chromium.org>
Date: Tue Feb 20 15:00:19 2018

Set correct cursor state when hovering XFA form widgets.

Bug:  811331 
Change-Id: Id7d44e0d0ef14252735516d4a9d62bf055da2076
Reviewed-on: https://chromium-review.googlesource.com/914849
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537779}
[modify] https://crrev.com/58afdff3757e338057e986618b291c2e5829676d/pdf/pdfium/pdfium_engine.cc

Status: Fixed (was: Assigned)

Sign in to add a comment