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

Issue 624612 link

Starred by 5 users

Issue metadata

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



Sign in to add a comment

Title is missing on Files window when immediately switched to overview mode

Project Member Reported by sdantul...@chromium.org, Jun 29 2016

Issue description

Google Chrome	53.0.2773.0 (Official Build) dev (64-bit)
Revision	0
Platform	8517.0.0 (Official Build) dev-channel peppy

What steps will reproduce the problem?
1. Open Browser
2. Open Files app
3. Immediately switch to Overview mode

What do you see instead?
Title is missing on Files app window.

Attached screenshot
 
Screenshot 2016-06-29 at 16.28.47.png
101 KB View Download
Project Member

Comment 1 by sheriffbot@chromium.org, Jul 1 2016

Labels: -M-53 M-54 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -M-54 -MovedFrom-53 Proj-MaterialDesign-CrOS M-53
Owner: varkha@chromium.org
Status: Assigned (was: Untriaged)
Handing off to varkha@ for triage.
Labels: -M-53 M-54
This seems like an edge case, as you have to load overview immediately after launching the app, but before the app has time to update its title. Doesn't seem to be a M-53 blocker.
Showing a blank title is pretty bad. Is this a long-standing issue, or was it introduced by MD Overview Mode? If it was introduced by us, we should fix it in M-53.

Comment 5 by varkha@chromium.org, Jul 11 2016

Status: Started (was: Assigned)
#4, it is long-standing and is probably masked when a title gets updated from one long string to another. In this case it is updated from nothing to something and that needed some extra handling to update the view layout.

Draft at https://codereview.chromium.org/2143473002/.
Project Member

Comment 6 by bugdroid1@chromium.org, Jul 13 2016

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

commit 2bd9e5c30da7d762dfeac6dd2eee88aea9603f6e
Author: varkha <varkha@chromium.org>
Date: Wed Jul 13 08:36:56 2016

[ash-md] Updates window title if it is changed after entering overview

Need to call LabelButton::Layout since this requires updated preferred
width of the label and that needs up to date text.

BUG= 624612 

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

[modify] https://crrev.com/2bd9e5c30da7d762dfeac6dd2eee88aea9603f6e/ui/views/controls/button/label_button.cc
[modify] https://crrev.com/2bd9e5c30da7d762dfeac6dd2eee88aea9603f6e/ui/views/controls/button/label_button_unittest.cc

Comment 7 by varkha@chromium.org, Jul 13 2016

Status: Fixed (was: Started)
Project Member

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

Labels: merge-merged-2795
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2bd9e5c30da7d762dfeac6dd2eee88aea9603f6e

commit 2bd9e5c30da7d762dfeac6dd2eee88aea9603f6e
Author: varkha <varkha@chromium.org>
Date: Wed Jul 13 08:36:56 2016

[ash-md] Updates window title if it is changed after entering overview

Need to call LabelButton::Layout since this requires updated preferred
width of the label and that needs up to date text.

BUG= 624612 

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

[modify] https://crrev.com/2bd9e5c30da7d762dfeac6dd2eee88aea9603f6e/ui/views/controls/button/label_button.cc
[modify] https://crrev.com/2bd9e5c30da7d762dfeac6dd2eee88aea9603f6e/ui/views/controls/button/label_button_unittest.cc

Status: Verified (was: Fixed)
ChromeOS  54.0.2824.0/8696.0 samus

Sign in to add a comment