New issue
Advanced search Search tips

Issue 874186 link

Starred by 2 users

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocked on:
issue 916261


Show other hotlists

Hotlists containing this issue:
Launcher-Polish


Sign in to add a comment

Hover previews - Background should be themed like the shelf

Project Member Reported by sgabr...@chromium.org, Aug 14

Issue description

Version 70.3519.3

--

The background of the overflow menu should be themed to be consistent with the background of the shelf. It should feel like it's made of the same background, including theming + blur.

 
shelf-theming.png
399 KB View Download
preview-theming.png
80.5 KB View Download
Labels: -Pri-3 M-71 Pri-2
Summary: Window selector menu should be themed like the shelf (was: Overflow menu should be themed like the shelf)
Labels: m-72
Bulk moving all M-71 <P-1's to M-72.
Labels: -M-71 -m-71
Labels: -M-72 -m-72 M-73
Bulk moving <p-1's to the next milestone because we branched to M-73.
Components: -UI>Shell>Shelf UI>Shell>WindowManager
Labels: -Restrict-View-Google
Owner: x...@chromium.org
This is about the window selector, not the shelf, right? Switching component. Xiaoqian are you the right owner? Thank you! :-)
Cc: sgabr...@chromium.org
Err wait, the title says "window selector" but then the description says "overflow menu". And the pieces of spec attached aren't about the shelf's overflow menu at all. Sebastien can you clarify?
See #2, it was a mistake, I wrote the bug too fast while working on overflow as well and called this bug overflow, I modified the title to be accurate but I couldn't modify the description in #0.We are talking about Window selector here, as shown by the spec images.
sgabriel@, can you explain a bit more? What is window selector menu? Which part should be themed like the shelf?
Blockedon: 916261
The window selector appears on hover or tap on an app with multiple windows opened.
Currently it shows a simple menu, this is what is suppose to replace that menu.

The part being consistent with the shelf is the dark layer holding all the previews.

FYI, as of version 73.0.3640.0, she window selector is not accessible due to a shelf bug which is tracked in  bug 916261 
Owner: manucornet@chromium.org
I see, it's the window previews that shows up when hovering on a shelf icon. In this case it still belongs to shelf.
(btw: I was originally confused as in the codebase, WindowSelector stands for overview mode, which is quite different here )
Cc: x...@chromium.org
Ah ok, thanks for the clarification.

I think we need a better common language ("window selector" could also describe what appears when you hit alt-tab, I think something like "live window previews" or "hover previews" would be clearer?). Screenshots of the bug also help ;-)
Components: -UI>Shell>WindowManager UI>Shell>Shelf
Labels: -M-73
Summary: Hover previews should be themed like the shelf (was: Window selector menu should be themed like the shelf)
Let's call them hover previews. I'll modify the specs to reflect that.
I didn't attach a screenshot at the time because you were in the process of working on it and this was a direct reaction to the implementation under the "show previews of running apps when hovering over the shelf" flag. Current state attached.
current state.png
221 KB View Download
Summary: Hover previews - Background should be themed like the shelf (was: Hover previews should be themed like the shelf)
Labels: -Tablet-UI-M-69-Bug-Bash M-73
Labels: -M-73 M-74
Status: Started (was: Assigned)
Moving P3 bugs about hover previews to P2 since this feature is now on the roadmap for the short-medium term.
Project Member

Comment 21 by bugdroid1@chromium.org, Jan 16 (6 days ago)

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

commit 6187efed3c0fbcdd427a6632d33e34642e005065
Author: Manu Cornet <manucornet@chromium.org>
Date: Wed Jan 16 17:11:23 2019

CrOS Shelf: Some hover preview fixes

* Give the hover preview the same background color as the shelf (this
  requires a little bit of plumbing to get the value from where it is).
* Set rounded corners for the hover preview as written in the spec.
* Reduce spacing between window previews within the bubble.

Bug: 874186, 874220, 834392
Change-Id: I400e62392482a11092379aa1c2d7e941763c803e
Reviewed-on: https://chromium-review.googlesource.com/c/1411339
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Manu Cornet <manucornet@chromium.org>
Cr-Commit-Position: refs/heads/master@{#623269}
[modify] https://crrev.com/6187efed3c0fbcdd427a6632d33e34642e005065/ash/shelf/shelf_tooltip_manager.cc
[modify] https://crrev.com/6187efed3c0fbcdd427a6632d33e34642e005065/ash/shelf/shelf_tooltip_preview_bubble.cc
[modify] https://crrev.com/6187efed3c0fbcdd427a6632d33e34642e005065/ash/shelf/shelf_tooltip_preview_bubble.h
[modify] https://crrev.com/6187efed3c0fbcdd427a6632d33e34642e005065/ash/shelf/shelf_widget.cc
[modify] https://crrev.com/6187efed3c0fbcdd427a6632d33e34642e005065/ash/shelf/shelf_widget.h

Comment 22 by manucornet@chromium.org, Jan 16 (6 days ago)

Background should now look the same, I still need to make the blur the same, so keeping this open.

Sign in to add a comment