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

Issue 635776 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression
Team-Security-UX



Sign in to add a comment

Regression: Close icon is seen missing when there is long URL

Project Member Reported by sc00335...@techmahindra.com, Aug 9 2016

Issue description

Version: 54.0.2823.0 dev
OS: Ubuntu 14.04,Windows

Test URL: view-source:https://www.google.co.in/search?tbs=sbi:AMhZZiuSHi_1NI91OPXq6uE2KxOLqRH7fOGw2wGHR3bvUW8tGUWSYoXyxNSDv8W2hZljEaR9MbAK40l51FB7b9cVMQZVlnCIXrvoS6zT42rCEXShZbzOv3vHEv22fxF67YaaBp5BVcF9eT9Hwv4nPZRce8Ra_1Jdms_1UPy6XqsjKNm7aUexz8z7Nd1YpOFeDKF6tYDM_1_1hP_1o8Pd2wqtST6RXQd3b_1F8k_18nraJcpGTQvkMTGgxau4Ac4lKkbfx3Io3q_1eGrOXxQ_1Gmhtv-oLvc8kq5Hxz7suyTHMLsFtrOov3Zzh3BHn-wyP3y2PTXUnwOYs-Ytx35I8CqkcPIYaC3uXllYa2zHNWoGIXwtLL6wJ8Jhrv7WAvGttsPh7sx6N1JRGkoo10tJcQEmjN_1DvY7BJ570GfNAQJqnWIO0F4ePFRD3t6FeXpMOO16LtnIWWEy8RSCU8IWYq6xL4ea33nm-vKQ9g95I-t0VfpsCpB9qnrWE068H4WCI7S9jK0HyxEKLhwxv9Wo977SZdMpY_1u5v-mXQgpw8rIEaJwJD2_1J47ixo-OnAYK8bPpHy1xUiCBRapqiei2yuPYFKJb_1sC_1-P2paiXOi9KZP4UiwcDqRDkKDE76BLmRNEHDXbRuNkdGv-oZNNKffRc3LQZbL-zX3ZDryjBqu9KuEKOgSVPOoCFmM-gPaR2nPt6CL3mpLyegCTF9u8ZGzYwIG7eAl24eqBZBkmuwJBx2MWi-Lu7tXKIcdvGl83FldBtYcAvHOH3ae6tAVpc8nfvZ-PbNrOHnWkC-dPhLBFRU18hqFT7uexgMqUxq5mWSODgcBcGp10spUIRgFjSvp520EENK8W1sUMOtbS5yhdgJz_1pUwm3IkaxYhhnf1KcuYesCjN_1uzzJBNW-_1UdRK79mqEdGBZadleQIMBYS3jJE_1ycWybpxDEeMFpjtUWe536NOE74aysMtsnwysZAidNTR5SWklm-6MCUTGtmeuIPdRGZjxca34DYsjd2H9j2k8qJt1sQhCH6mqyFPxRrM36xQb

What steps will reproduce the problem?
(1) Launch chrome and go to above URL >> Click on Lock icon in omnibox and observe for "x" icon 

Expected: "X" icon should be seen.
Actual: Instead for long urls no "x" icon is seen.

This is a regression issue broken in M53.

Good Build:53.0.2754.0 dev
Bad Build: 53.0.2756.0 dev

NOTE: When there is long name text continuation[...] should be seen and "x" icon should be seen.
 
Actual_close icon.png
272 KB View Download
Expected_close icon.png
401 KB View Download
Labels: -Needs-Bisect hasbisect
Owner: mea...@chromium.org
Status: Assigned (was: Unconfirmed)
CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/0861c56c582da4866a84104dc5764a8adad84dd6..3320bea50874bdec0367d6a72f7f6edc35259907

Suspecting https://codereview.chromium.org/1995813002 from changelog.

@meacer: Please confirm the issue.

Comment 2 by ajha@chromium.org, Aug 9 2016

Labels: ReleaseBlock-Stable OS-Mac
Issue is seen on Mac OS 10.11.5 canary version: 54.0.2824.0 as well.

On Mac Long URL is shown on the bad build where as short URL: www.google.co.in is shown clicking the Lock icon. 

Components: -Internals>Network>Certificate Security>UX
Pretty likely because of my change, but I don't think this is a regression, nor it should be stable blocking. Other long URLs such as data: also break the page info bar. My CL just made it slightly worse for certain URLs such as view-source.

In any case, I'll take a look.
The current bubble looks pretty broken: If you actually try changing a setting using the view-source bubble, a content setting is created with an empty URL.

I'm going to change this so that the bubble only shows a string like "You are viewing page sources" for view-source URLs. There doesn't seem a good reason to show a bubble for the original page URL when view-sourcing that URL.

Comment 6 by mea...@chromium.org, Aug 11 2016

Status: Started (was: Assigned)
I have a patch at https://codereview.chromium.org/2232453002/

Comment 7 by gov...@chromium.org, Aug 15 2016

M53 Stable launch is coming VERY soon.Your bug is labelled as Stable ReleaseBlock, pls make sure to land the fix asap so it gets chance to bake in beta before stable promotion later this month. Thank you.

Comment 9 by mea...@chromium.org, Aug 15 2016

Status: Fixed (was: Started)
Labels: Merge-Request-53
Labels: Hotlist-PageInfo
Cc: pbomm...@chromium.org
Before we approve merge to M53, Could you please confirm whether this change is baked/verified in Canary and safe to merge?
Canary looks good to me, but there was a string change in the CL. Is that going to be okay for the merge?
(As in, will it be properly picked up by translators?)
Cc: tinazh@chromium.org
+ tinazh@ to take her opinion on string change as we already pass string freeze deadline (06/17/16).
Cc: ryanm@chromium.org
+ ryanm@, LPM contact
Labels: -Merge-Request-53 Merge-Approved-53
After chatting with ryanm@, string change will be picked up so approving merge to M53 branch 2785. Please merge ASAP. Thank you.
Project Member

Comment 18 by bugdroid1@chromium.org, Aug 16 2016

Labels: -merge-approved-53 merge-merged-2785
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ebad76f9dca81e996a83744e43b7076c2e327e9f

commit ebad76f9dca81e996a83744e43b7076c2e327e9f
Author: Mustafa Acer <meacer@chromium.org>
Date: Tue Aug 16 18:51:00 2016

Show a custom message in the page info bubble for view-source URLs

Screenshot: https://drive.google.com/file/d/0B9q2eN9gDoUIMGYyeE85Ynk2VGs/view?usp=sharing

BUG= 635776 
TBR=sdefresne,caitkp

(cherry picked from commit e1feca06c43dba6d9465e9a06370cbab24f5d7fe)

Review-Url: https://codereview.chromium.org/2232453002
Cr-Original-Commit-Position: refs/heads/master@{#412067}
Cr-Commit-Position: refs/branch-heads/2785@{#628}
Cr-Branched-From: 68623971be0cfc492a2cb0427d7f478e7b214c24-refs/heads/master@{#403382}

[modify] https://crrev.com/ebad76f9dca81e996a83744e43b7076c2e327e9f/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h
[modify] https://crrev.com/ebad76f9dca81e996a83744e43b7076c2e327e9f/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm
[modify] https://crrev.com/ebad76f9dca81e996a83744e43b7076c2e327e9f/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller_unittest.mm
[modify] https://crrev.com/ebad76f9dca81e996a83744e43b7076c2e327e9f/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
[modify] https://crrev.com/ebad76f9dca81e996a83744e43b7076c2e327e9f/components/pageinfo_strings.grdp

Missing string translation is tracked under bug 638369
Labels: TE-Verified-53.0.2785.70 TE-Verified-M53
Tested the issue on Windows 7, Mac 10.11.6, Ubuntu 14.04 using 53.0.2785.70 as per bugdroid comment #18.A custom message in the page info bubble is shown for view-source URLs.
Please find attached screenshot.

Marking it as TE-Verified.

635776.png
187 KB View Download
Components: UI>Browser>Omnibox>PageInfo
Components: -UI>Browser>Omnibox>PageInfo UI>Browser>Bubbles>PageInfo
Components: -Security>UX

Sign in to add a comment