New issue
Advanced search Search tips

Issue 890074 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

KSV widget cannot be found by GetInternalWidgetForWindow in mus app

Project Member Reported by wutao@chromium.org, Sep 27

Issue description

The ash debug shortcut: ctrl + shift + alt + v does not work on the mus app.

The shortcut print the HandlePrintViewHierarchy(), which uses GetInternalWidgetForWindow to get widget.
The widget is null for mus app.

Is this expected?
 
Summary: KSV widget cannot be found by GetInternalWidgetForWindow in mus app (was: KSV mus app is not considered as active window)
Yes, the KSV is running in a separate process from the code in ash, so ash has no knowledge of its internal views::Widget or views::Views.

(There's a proxy Widget in ash used to draw the frame, but that's separate from KSV's own Widget and Views.)

If we want this debug shortcut to work with out-of-process apps then we either need to hard-code it in //ui/views somewhere (yuck) or build some mus window service mojo IPC to tell a remote app to dump itself (also yuck).

Labels: -Type-Bug -Pri-2 Pri-3 Type-Feature
Status: Unconfirmed (was: Untriaged)
Thanks James.

This is a low priority. Maybe I can put this as a p3 feature request.
Components: Internals>Services>WindowService
Status: Available (was: Unconfirmed)
Does this issue need Restrict-View-Google for any reason?
Labels: -Restrict-View-Google -M-71
Removed the tags.

Sign in to add a comment