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

Issue 663002 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

Backspace in PDF forms deletes 2 characters instead of 1

Project Member Reported by npm@chromium.org, Nov 7 2016

Issue description

Version: 55.0.2883.35 (Beta)
OS: Linux

What steps will reproduce the problem?
(1) Go to http://foersom.com/net/HowTo/data/OoPdfFormExample.pdf
(2) Type "abc" in the first form field
(3) Press Backspace

What is the expected output?
The form field contains "ab"

What do you see instead?
The form field constains "a"
 

Comment 1 by npm@chromium.org, Nov 7 2016

Labels: Needs-Bisect
This is a regression
Labels: OS-Linux
Do you have a known good build version or revision number?
Labels: -Needs-Bisect
No worries, I got it. Will bisect.
Project Member

Comment 5 by bugdroid1@chromium.org, Nov 8 2016

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

commit 435a59e7bbcf2e5875f860317f1056d914a30610
Author: dtapuska <dtapuska@chromium.org>
Date: Tue Nov 08 02:09:33 2016

Fix backspace double occuring on PDF files.

For some reason I overlooked an ifdef I left in some code in change;
https://chromium.googlesource.com/chromium/src/+/98ec378a9fcf5d0ace4f82d4c2e9aaafc4be492d%5E%21/

Make sure this code isn't ifdef'd out since this is the easiest path to
merge into M55. I've added a TODO to revisit this since I think this
function can actually be removed and not generate the events in the first
place.

BUG= 663002 

Review-Url: https://codereview.chromium.org/2481943002
Cr-Commit-Position: refs/heads/master@{#430478}

[modify] https://crrev.com/435a59e7bbcf2e5875f860317f1056d914a30610/third_party/WebKit/public/platform/WebInputEvent.h

Labels: M-55
Status: Started (was: Untriaged)
Fixed on trunk? Let's verify on Canary and then do a M55 merge?
Cc: msrchandra@chromium.org nyerramilli@chromium.org
 Issue 663258  has been merged into this issue.

Comment 8 by npm@chromium.org, Nov 8 2016

There's no Linux canary... but it's fixed for me on ToT. Please request a merge to M55.
There are official linux builds (not signed) I was waiting for 56.0.2914.0 to be built.

Likewise this needs to be testing on windows canary as well to verify it doesn't break that platform.
Cc: ranjitkan@chromium.org
Labels: TE-Verified-56.0.2914.0 TE-Verified-M56
Rechecked this issue on chrome version 56.0.2914.0 on Ubuntu 14.04 and Windows 10. Fix is working as intended. Hitting backspace removes only one character.

Adding TE-Verified labels.

Requesting a merge to M55.
Labels: Merge-Request-55

Comment 12 by dimu@chromium.org, Nov 9 2016

Labels: -Merge-Request-55 Merge-Approved-55 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M55 (branch: 2883)
Project Member

Comment 13 by bugdroid1@chromium.org, Nov 9 2016

Labels: -merge-approved-55 merge-merged-2883
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/21ad4cf85b24053d7994ef0b234c658e4a64f058

commit 21ad4cf85b24053d7994ef0b234c658e4a64f058
Author: Dave Tapuska <dtapuska@chromium.org>
Date: Wed Nov 09 14:17:31 2016

Fix backspace double occuring on PDF files.

For some reason I overlooked an ifdef I left in some code in change;
https://chromium.googlesource.com/chromium/src/+/98ec378a9fcf5d0ace4f82d4c2e9aaafc4be492d%5E%21/

Make sure this code isn't ifdef'd out since this is the easiest path to
merge into M55. I've added a TODO to revisit this since I think this
function can actually be removed and not generate the events in the first
place.

BUG= 663002 

Review-Url: https://codereview.chromium.org/2481943002
Cr-Commit-Position: refs/heads/master@{#430478}
(cherry picked from commit 435a59e7bbcf2e5875f860317f1056d914a30610)

Review URL: https://codereview.chromium.org/2493463002 .

Cr-Commit-Position: refs/branch-heads/2883@{#504}
Cr-Branched-From: 614d31daee2f61b0180df403a8ad43f20b9f6dd7-refs/heads/master@{#423768}

[modify] https://crrev.com/21ad4cf85b24053d7994ef0b234c658e4a64f058/third_party/WebKit/public/platform/WebInputEvent.h

Status: Fixed (was: Started)
Labels: TE-Verified-55.0.2883.52 TE-Verified-M55
Rechecked this issue on chrome version 55.0.2883.52 on Ubuntu 14.04 and Windows 10. Fix/merge is working as intended. Hitting backspace removes only one character.

Adding TE-Verified labels.
Labels: Hotlist-Input-Dev

Sign in to add a comment