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

Issue 594097 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Regression: On 'find in page' box unnecessary 'Previous' and 'Next' arrow button is enabled.

Reported by rk...@etouch.net, Mar 11 2016

Issue description

Chrome Version: 51.0.2674.0 Revision f9be006501afecf6f58b3d638999e03613314c84-refs/heads/master@{#380495}(32/64 bit)
OS: Windows(Win-7 Aero Enabled), Linux

What steps will reproduce the problem?
(1) Launch chrome,open NTP and press ctrl+F, observe

Unnecessary Previous and Next arrow button is enabled without entered any keyword on find in box.

Previous and Next arrow should be disable if there is no keyword entered.

This is a regression issue,broken in 'M-50', below is bisect info:

Good Build: 50.0.2644.0
Bad Build: 50.0.2646.0

Narrow Bisect:
https://chromium.googlesource.com/chromium/src/+log/ef3511f30c78a2e286c7dc427b2af18ec54cb0c9..f1777a5bee5a24d196deab700bf4c4a5e118a156?pretty=fuller&n=100

Suspecting: r374578

Note: Issue is not seen on Mac OS.

 

 
Actual_screenshot.png
5.6 KB View Download
Labels: ReleaseBlock-Stable
Adding release block label, please undo if not the case.
I can confirm that r374578 is the cause for this regression. I will submit a CL to address this issue.
Project Member

Comment 3 by bugdroid1@chromium.org, Mar 14 2016

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

commit afc0733e0630499bea163c4f3cf826c945e7baaf
Author: m.pistrich <m.pistrich@gmail.com>
Date: Mon Mar 14 21:29:40 2016

Disable Find-In-Page buttons when no text is entered

This CL fixes a regression caused by https://crrev.com/1660273003 which
enables the buttons of the Find-In-Page bar even if no text is entered
or no search was issued yet.

R=msw@chromium.org
BUG= 594097 
TEST=FindInPageTest.ButtonsDisabledWithoutText

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

Cr-Commit-Position: refs/heads/master@{#381074}

[modify] https://crrev.com/afc0733e0630499bea163c4f3cf826c945e7baaf/chrome/browser/ui/views/find_bar_host.cc
[modify] https://crrev.com/afc0733e0630499bea163c4f3cf826c945e7baaf/chrome/browser/ui/views/find_bar_view.cc
[modify] https://crrev.com/afc0733e0630499bea163c4f3cf826c945e7baaf/chrome/browser/ui/views/find_bar_views_interactive_uitest.cc

Comment 4 by msw@chromium.org, Mar 14 2016

Status: Started (was: Assigned)
Let's verify the fix on the next canary and then we can merge to M-50 (2661).
Thanks for the patch, m.pistrich!
Cc: gov...@chromium.org tinazh@chromium.org
Thank you for the fix. It is working as intended on Latest Canary#51.0.2679.0.

We have a Beta cut today @ 5PM PST and it would be nice if you can merge request (by adding "Merge=Request-50" label) this to Beta branch:2661 at the earliest.
Labels: TE-Verified-M51 TE-Verified-51.0.2679.0

Comment 7 by msw@chromium.org, Mar 15 2016

Labels: Merge-Request-50
This is fixed on 51.0.2679.0 canary, requesting merge to M50 (branch 2661).

Comment 8 by tin...@google.com, Mar 15 2016

Labels: -Merge-Request-50 Merge-Approved-50 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M50 (branch: 2661)
Project Member

Comment 9 by bugdroid1@chromium.org, Mar 15 2016

Labels: -merge-approved-50 merge-merged-2661
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/820c22f3b79c9af3f6c6c876ae515ec65606a43b

commit 820c22f3b79c9af3f6c6c876ae515ec65606a43b
Author: Michael Wasserman <msw@chromium.org>
Date: Tue Mar 15 20:40:03 2016

[M50 Merge] Disable Find-In-Page buttons when no text is entered

This CL fixes a regression caused by https://crrev.com/1660273003 which
enables the buttons of the Find-In-Page bar even if no text is entered
or no search was issued yet.

R=msw@chromium.org
BUG= 594097 
TEST=FindInPageTest.ButtonsDisabledWithoutText

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

Cr-Commit-Position: refs/heads/master@{#381074}
(cherry picked from commit afc0733e0630499bea163c4f3cf826c945e7baaf)

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

Cr-Commit-Position: refs/branch-heads/2661@{#248}
Cr-Branched-From: ef6f6ae5e4c96622286b563658d5cd62a6cf1197-refs/heads/master@{#378081}

[modify] https://crrev.com/820c22f3b79c9af3f6c6c876ae515ec65606a43b/chrome/browser/ui/views/find_bar_host.cc
[modify] https://crrev.com/820c22f3b79c9af3f6c6c876ae515ec65606a43b/chrome/browser/ui/views/find_bar_view.cc
[modify] https://crrev.com/820c22f3b79c9af3f6c6c876ae515ec65606a43b/chrome/browser/ui/views/find_bar_views_interactive_uitest.cc

Comment 10 by msw@chromium.org, Mar 15 2016

Status: Fixed (was: Started)
Merged to M50 in http://codereview.chromium.org/1801313003 please help verify.
Thanks, m.pistrich!
Cc: rnimmagadda@chromium.org
Labels: TE-Verified-M50 TE-Verified-50.0.2661.37
Verified the fix on Windows 7 & Ubuntu Trusty (14.04) for Google Chrome Beta Version - 50.0.2661.37 

Screen-recording is attached.

TE-Verified labels are added.
594097.mp4
231 KB Download

Sign in to add a comment