KSV widget cannot be found by GetInternalWidgetForWindow in mus app |
|||||
Issue descriptionThe 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?
,
Sep 28
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).
,
Sep 28
Thanks James. This is a low priority. Maybe I can put this as a p3 feature request.
,
Sep 28
,
Oct 2
Does this issue need Restrict-View-Google for any reason?
,
Oct 2
Removed the tags. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by wutao@chromium.org
, Sep 27