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

Issue 749133 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome
Pri: 2
Type: Bug

Blocking:
issue 747692



Sign in to add a comment

In UI Devtools, show distances when a pinned UIElement contains or is contained by a hovered UIElement while in inspection mode

Project Member Reported by thanhph@chromium.org, Jul 26 2017

Issue description

In Chrome UI Devtools, when users enter the inspection mode and pin an element by left-clicking on a window/widget or view on the Chrome UI, when user moves the cursor outside of the current UIElement, if the pinned UIElement contains or is contained by the hovered UIElement, the layout will display the 4 distances between the pinned UIElement and the UIElement under cursor as shown in picture below. If users click on another UIElement, this UIElement will become pinned instead. This bug refers to case R1_CONTAINS_R2.
 
Blocking: 747692
Summary: Show distances when a pinned UIElement contains or is contained by a hovered UIElement while in inspection mode (was: Show distances when a pinned UIElement contains a hovered UIElement while in inspection mode)
Since your design document isn't linked in this bug (and also it is not visible by everyone who is able to view this bug), then mentioning "R1_CONTAINS_R2" in your bug description might be a bit confusing. Consider re-wording the description and attaching a diagram/picture/screenshot to clarify your intended scope of this bug.
Summary: In UI Devtools, show distances when a pinned UIElement contains or is contained by a hovered UIElement while in inspection mode (was: Show distances when a pinned UIElement contains or is contained by a hovered UIElement while in inspection mode)
Good call, I added an illustrative picture.
Screenshot from 2017-07-24 11:25:22.png
143 KB View Download
Description: Show this description
Description: Show this description
Description: Show this description
Description: Show this description
Status: Assigned (was: Available)
Status: Started (was: Assigned)

Comment 10 Deleted

Comment 11 Deleted

current UI
Screenshot from 2017-08-21 21:16:54.png
62.1 KB View Download
Project Member

Comment 13 by bugdroid1@chromium.org, Aug 30 2017

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

commit a2b2cc65e81bc2ed6219b240bb5338bf7aacfe7c
Author: Thanh Pham <thanhph@chromium.org>
Date: Wed Aug 30 20:36:57 2017

Show distances when a pinned UIElement contains or is contained by a
hovered UIElement while in inspection mode.

In Chrome UI Devtools, when users enter the inspection mode and pin an
element by left-clicking on a window/widget or view on the Chrome UI,
when user moves the cursor outside of the current UIElement, if the
pinned UIElement contains or is contained by the hovered UIElement, the
layout will display the 4 distances between the pinned UIElement and
the UIElement under cursor as shown in picture below. If users click on
another UIElement, this UIElement will become pinned instead. This bug
refers to case R1_CONTAINS_R2.

Bug:  749133 
Change-Id: I8c1e831eff9783b91ae4beca96cccfc92185ccff
Reviewed-on: https://chromium-review.googlesource.com/586575
Commit-Queue: Thanh Pham <thanhph@chromium.org>
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#498595}
[modify] https://crrev.com/a2b2cc65e81bc2ed6219b240bb5338bf7aacfe7c/components/ui_devtools/views/ui_devtools_dom_agent.cc
[modify] https://crrev.com/a2b2cc65e81bc2ed6219b240bb5338bf7aacfe7c/components/ui_devtools/views/ui_devtools_dom_agent.h
[modify] https://crrev.com/a2b2cc65e81bc2ed6219b240bb5338bf7aacfe7c/components/ui_devtools/views/ui_devtools_overlay_agent.cc
[modify] https://crrev.com/a2b2cc65e81bc2ed6219b240bb5338bf7aacfe7c/components/ui_devtools/views/ui_devtools_unittest.cc

Status: Fixed (was: Started)

Sign in to add a comment