Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(789)

Issue 2748983004: cros: Fix shelf overlaps bottom of maximized window in guest session (Closed)

Created:
3 years, 9 months ago by Qiang(Joe) Xu
Modified:
3 years, 9 months ago
Reviewers:
msw, James Cook
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Fix shelf overlaps bottom of maximized window in guest session Changes: CL in https://codereview.chromium.org/2688353005 makes change that leave the shelf bottom locked and hidden until user prefs are loaded. When ChromeLauncherController::SetShelfBehaviorsFromPrefs(), it will be blocked on https://cs.chromium.org/chromium/src/ash/common/shelf/shelf_controller.cc?l=96, which leaves shelf alignment bottom locked in guest session. We don't set display work area change for bottom locked, that is why bug happens. Solution is to delete the CanChangeShelfAlignment() check as it should be enforced on shelf context menu already. BUG=699661 TEST=emulator test saw reporter's bug fixed Review-Url: https://codereview.chromium.org/2748983004 Cr-Commit-Position: refs/heads/master@{#457246} Committed: https://chromium.googlesource.com/chromium/src/+/5859fcdeb7fa7508f902d80d401958c956cb964f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -3 lines) Patch
M ash/common/shelf/shelf_controller.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
Qiang(Joe) Xu
Hi all, ptal whether this is a right fix for you, thanks!
3 years, 9 months ago (2017-03-15 18:43:01 UTC) #8
msw
Hmm, this is probably okay; the check is really only needed to prevent changes triggered ...
3 years, 9 months ago (2017-03-15 19:51:51 UTC) #11
James Cook
LGTM too. I agree a test would be nice. I suggest backporting this fix to ...
3 years, 9 months ago (2017-03-15 20:47:32 UTC) #12
Qiang(Joe) Xu
On 2017/03/15 20:47:32, James Cook wrote: > LGTM too. I agree a test would be ...
3 years, 9 months ago (2017-03-15 22:19:13 UTC) #13
msw
On 2017/03/15 22:19:13, Qiang(Joe) Xu wrote: > I have a question about what the test ...
3 years, 9 months ago (2017-03-15 22:23:07 UTC) #14
James Cook
On 2017/03/15 22:23:07, msw wrote: > On 2017/03/15 22:19:13, Qiang(Joe) Xu wrote: > > I ...
3 years, 9 months ago (2017-03-15 22:24:44 UTC) #15
Qiang(Joe) Xu
On 2017/03/15 22:23:07, msw wrote: > On 2017/03/15 22:19:13, Qiang(Joe) Xu wrote: > > I ...
3 years, 9 months ago (2017-03-15 22:43:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2748983004/1
3 years, 9 months ago (2017-03-15 22:44:49 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 22:50:51 UTC) #21
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/5859fcdeb7fa7508f902d80d4019...

Powered by Google App Engine
This is Rietveld 408576698