New issue
Advanced search Search tips

Issue 716233 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 19
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocking:
issue 613746



Sign in to add a comment

mash: Language/Keyboard select drop down does not show up

Project Member Reported by xiy...@chromium.org, Apr 27 2017

Issue description

Repro:
1. Run OOBE with --mash;
2. Click on Language on lower left corner of welcome screen;
3. Try to select language or keyboard

On step 3, nothing happens when clicking on the two elements.

Select element seems working fine elsewhere (e.g. in a tab).
 

Comment 1 by xiy...@chromium.org, Dec 12 2017

Still not working on r523554. 

Select dropdown shows up now but z-order is wrong, see attached.
Screenshot from 2017-12-12 15:18:24.png
42.2 KB View Download
Components: -MUS Internals>Services>WindowService
Status: Assigned (was: Available)
Labels: -Proj-Mustash Proj-Mash-MultiProcess
Xiyuan, is this still an issue?
Yes, still a problem that pop up is put behind the renderer's window. And it is worse than before because Oobe webui is not full screen.
Labels: -Pri-3 -Proj-Mash-MultiProcess M-73 Proj-Mash-SingleProcess Pri-1
Think we need to resolve this for M73.

We need to figure out a proper way to make popup RWHVAura a transient child of its parent RWHVAura. aura::client::GetTransientWindowClient [1] is nullptr under mash.

[1] https://cs.chromium.org/chromium/src/content/browser/renderer_host/render_widget_host_view_aura.cc?rcl=dbb96a90540551b2878b7b0dd4fbfca7ef0ff0cf&l=432
Scrape #6. It turns out transient window handling works as expected. The problem is aura::client::ParentWindowWithContext in L456 does not create the popup as menu properly.
Project Member

Comment 8 by bugdroid1@chromium.org, Dec 19

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

commit 5457d7e5a384a974af55dbb68b063fb031c720ed
Author: Xiyuan Xia <xiyuan@chromium.org>
Date: Wed Dec 19 20:51:00 2018

mash: Use TYPE_MENU for parent of a RWHVAura menu popup

DesktopNativeWidgetTopLevelHandler::CreateParentWindow use
TYPE_MENU to create parent for RWHVAura menu popup. This
matches the classic behavior and fixes the problem on ChromeOS
OOBE screen.

Bug:  716233 
Change-Id: Ifcfe23ab80e4741f3d629180c6b54ebe0acd727d
Reviewed-on: https://chromium-review.googlesource.com/c/1384633
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Xiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#617943}
[modify] https://crrev.com/5457d7e5a384a974af55dbb68b063fb031c720ed/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc

Status: Fixed (was: Assigned)

Sign in to add a comment