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

Issue 654803 link

Starred by 0 users

Issue metadata

Status: Verified
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Public session's "Exit session" button has wrong padding

Project Member Reported by xiy...@chromium.org, Oct 11 2016

Issue description

Saw this while looking at  issue 652839 . 

See attached screenshot
 
public_account_button_wrong_bounds.png
59.1 KB View Download

Comment 1 by xiy...@chromium.org, Oct 11 2016

Cc: xiy...@chromium.org
Labels: -Type-Bug Type-Bug-Regression
Owner: est...@chromium.org
estade@, looks like this is regressed in https://codereview.chromium.org/2218323002

In LogoutButtonTray::UpdateButtonTextAndImage, we do
  button_->SetMinSize(gfx::Size(0, kTrayItemSize));

When we are NOT using MD and |button_| is a LogoutButton, we should use GetTrayConstant(TRAY_ITEM_HEIGHT_LEGACY) instead.

Could you take a look? Thanks.
Status: Assigned (was: Untriaged)

Comment 3 by est...@chromium.org, Oct 11 2016

happy to work on this, but won't be able to get to it till after I'm back from vacation late next week.

Comment 4 by xiy...@chromium.org, Oct 11 2016

Cc: -xiy...@chromium.org est...@chromium.org
Owner: xiy...@chromium.org
Let me create a quick patch and give it a shot then.

Comment 5 by xiy...@chromium.org, Oct 11 2016

https://codereview.chromium.org/2414533002/

legacy_shelf.png
59.2 KB View Download
md_shelf.png
57.1 KB View Download
Project Member

Comment 6 by bugdroid1@chromium.org, Oct 12 2016

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

commit 6f35d15d1ad0fa7a5f87f5ad47d4fc33aa695d66
Author: xiyuan <xiyuan@chromium.org>
Date: Wed Oct 12 15:53:33 2016

ash: Use legacy size for legacy logout button.

BUG= 654803 

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

[modify] https://crrev.com/6f35d15d1ad0fa7a5f87f5ad47d4fc33aa695d66/ash/common/system/chromeos/session/logout_button_tray.cc

Comment 7 by xiy...@chromium.org, Oct 12 2016

Labels: M-55
Status: Fixed (was: Assigned)
Fixed in M55.

Let me know if we want to merge the fix to M54.

Comment 8 by xiy...@chromium.org, Oct 19 2016

Labels: Merge-Request-55
Status: Started (was: Fixed)
Oops, CL in #6 does not get into M-55. Requesting merge.

Comment 9 by dimu@chromium.org, Oct 19 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 10 by bugdroid1@chromium.org, Oct 19 2016

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

commit 3ce691c1721f4fa3f865680c4b563630cc79a2f6
Author: Xiyuan Xia <xiyuan@google.com>
Date: Wed Oct 19 17:00:35 2016

Merge "ash: Use legacy size for legacy logout button."

> BUG= 654803 
>
> Review-Url: https://codereview.chromium.org/2414533002
> Cr-Commit-Position: refs/heads/master@{#424750}
> (cherry picked from commit 6f35d15d1ad0fa7a5f87f5ad47d4fc33aa695d66)

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

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

[modify] https://crrev.com/3ce691c1721f4fa3f865680c4b563630cc79a2f6/ash/common/system/chromeos/session/logout_button_tray.cc

Status: Fixed (was: Started)
Cc: trapti@chromium.org

Comment 13 by trapti@google.com, Oct 24 2016

Status: Verified (was: Fixed)
Padding looks ok in Candy device
 
Columns
M	ChromeOS	Chrome	ARC	Type	Channel
55	8872.22.0	55.0.2883.25	3388538	release	dev
Project Member

Comment 14 by bugdroid1@chromium.org, Oct 27 2016

Labels: merge-merged-2840
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3ce691c1721f4fa3f865680c4b563630cc79a2f6

commit 3ce691c1721f4fa3f865680c4b563630cc79a2f6
Author: Xiyuan Xia <xiyuan@google.com>
Date: Wed Oct 19 17:00:35 2016

Merge "ash: Use legacy size for legacy logout button."

> BUG= 654803 
>
> Review-Url: https://codereview.chromium.org/2414533002
> Cr-Commit-Position: refs/heads/master@{#424750}
> (cherry picked from commit 6f35d15d1ad0fa7a5f87f5ad47d4fc33aa695d66)

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

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

[modify] https://crrev.com/3ce691c1721f4fa3f865680c4b563630cc79a2f6/ash/common/system/chromeos/session/logout_button_tray.cc

Comment 15 by dimu@google.com, Nov 4 2016

[Automated comment] removing mislabelled merge-merged-2840

Comment 16 by dimu@google.com, Nov 4 2016

Labels: -merge-merged-2840
[Automated comment] removing mislabelled merge-merged-2840

Sign in to add a comment