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

Issue 822283 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug
Proj-XR
Proj-XR-VR



Sign in to add a comment

AddParentUiElement should not reorder elements.

Project Member Reported by vollick@chromium.org, Mar 15 2018

Issue description

The way this function works is by detaching the to-be-parented element, splicing in the new node, and readding the new node to the old parent.

The problem: this changes the stacking order of the children in old parent.
 
Labels: Hotlist-VRB-TD
Project Member

Comment 2 by bugdroid1@chromium.org, May 7 2018

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

commit 878926799972445a4a82377faffbc2c9a2a0ceac
Author: Ian Vollick <vollick@chromium.org>
Date: Mon May 07 17:36:22 2018

[vr] AddParentUiElement should not reorder elements

Previously, this would end up sticking the parent element at the end of
the child list.

Bug:  822283 
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_vr
Change-Id: I840edc68a37243d20b24c62a8ab85743c2d42e83
Reviewed-on: https://chromium-review.googlesource.com/1047345
Reviewed-by: Christopher Grant <cjgrant@chromium.org>
Commit-Queue: Ian Vollick <vollick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556487}
[modify] https://crrev.com/878926799972445a4a82377faffbc2c9a2a0ceac/chrome/browser/vr/elements/ui_element.cc
[modify] https://crrev.com/878926799972445a4a82377faffbc2c9a2a0ceac/chrome/browser/vr/elements/ui_element.h
[modify] https://crrev.com/878926799972445a4a82377faffbc2c9a2a0ceac/chrome/browser/vr/elements/ui_element_unittest.cc
[modify] https://crrev.com/878926799972445a4a82377faffbc2c9a2a0ceac/chrome/browser/vr/ui_scene.cc

Status: Fixed (was: Assigned)
Labels: M-68 Test-Complete

Sign in to add a comment