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

Issue 617540 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Print preview: all numbers should be locale formatted (i.e. 1000 => 1,000 for en-US)

Reported by adha...@etouch.net, Jun 6 2016

Issue description

Chrome Version:53.0.2760.0 (Official Build) canary Revision 851eb42016eeca7ac932921164bb1fdb3a5844b3-refs/heads/master@{#397956} (32/64-bit)
OS: Windows(7,8,8.1,10)

Steps:
1.Launch chrome,Navigate to any webpage(Ex:https://twitter.com/)
2.Give Print command(ctrl+P),click on more settings
3.click on 'quality' dropdownlist and observe.

Actual:Unnecessary ',' is seen for 1200 dpi option.

Expected:No such ',' should be seen for 1200 dpi option.

This is a regression issue broken in M-53

Manual Regression range:

Good Build:53.0.2757.0
Bad Build:53.0.2759.0

Narrow Bisect:  
https://chromium.googlesource.com/chromium/src/+log/2ccd36dd90285fc457dca2ba4f7440012bb5ea40..b56bbaad735742d2495bea1e5c9836d96f563e38?pretty=fuller&n=10000

Suspecting:r397608?

Please re-assign if your change is not cause of this issue.

Note: Issue is not seen on Mac and Linux OS.


 
Actual_result.mp4
691 KB Download
Expected_result.mp4
513 KB Download
Labels: ReleaseBlock-Stable
Adding RB label as this is a recent regression
Cc: rnimmagadda@chromium.org
Just to update.

Still able to repro this issue on Google Chrome Latest Canary Version - 53.0.2773.0 

Comment 3 by ajha@chromium.org, Jun 23 2016

jshin@: Could you please review the blocker label and update accordingly as we are approaching the M-53 branch point.
Just to update.

Still able to repro this issue on Google Chrome Latest Canary Version - 53.0.2784.1  
Cc: dbeam@chromium.org
Labels: -Pri-1 Pri-2
+dbeam who did the review. It is a bit weird that we have "1,200 dpi", but if I print a 2 page document with 500 copies, print preview says "1000 sheets of paper" at the top.

Comment 6 by dbeam@chromium.org, Jul 7 2016

Cc: -dbeam@chromium.org js...@chromium.org
Labels: -M-53 -ReleaseBlock-Stable -Type-Bug-Regression Type-Bug
Owner: dbeam@chromium.org
Status: Started (was: Assigned)
Summary: Print preview: all numbers should be locale formatted (i.e. 1000 => 1,000 for en-US) (was: Regression: Unnecessary ',' is seen for 1200 dpi option in Print preview)

Comment 7 by dbeam@chromium.org, Jul 7 2016

thestig@: your wish is my command!
Project Member

Comment 8 by bugdroid1@chromium.org, Jul 7 2016

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

commit 314dd0c72e7921f4aec79dd700db5dd3562c3e39
Author: dbeam <dbeam@chromium.org>
Date: Thu Jul 07 18:57:16 2016

Print preview: make page/sheet summary locale aware

R=dpapad@chromium.org
BUG=617540
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation

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

[modify] https://crrev.com/314dd0c72e7921f4aec79dd700db5dd3562c3e39/chrome/browser/resources/print_preview/print_header.js

Comment 9 by dbeam@chromium.org, Jul 7 2016

Owner: js...@chromium.org
Status: Assigned (was: Started)
i'll let jshin@ look through the dark corners

Comment 10 by js...@chromium.org, Jul 25 2016

Wow... it'll be rather hard to find other cases because there's no specific string signature to look for. Well, search in JS would be hopeless, but search in grd should turn up something. 

Actually,  bug 613331  caught/fixed a few in JS (e.g. print preview dpi was fixed 3 days before this bug report in ToT.) by grd search.  I'll look for more.  
The "Pages" error message still does not have commas when the number of pages is > 999 (print preview a 1000+ page document and then enter a page number larger than the max page in the "Pages" field). Any other issues still exist for this?

Sign in to add a comment