Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Issue 2040333002: Merge to M52: Fix a bug with the Chrome legacy window at times becoming a top level window with a n… (Closed)

Created:
4 years, 6 months ago by dmazzoni
Modified:
4 years, 6 months ago
Reviewers:
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@2743
Target Ref:
refs/pending/branch-heads/2743
Project:
chromium
Visibility:
Public.

Description

Merge to M52: Fix a bug with the Chrome legacy window at times becoming a top level window with a non functional button in the taskbar. This bug typically occurs if the legacy window stays around after it is removed from the original root window. It looks like a recent change (https://codereview.chromium.org/1996163002) which ensures that the legacy window is always created exacerbates this problem by creating the legacy windows early and some of them stay around after a tab switch. Typical cases include opening a pdf file in chrome which causes at least two RWVHA instances to be active at any given point and the legacy window which belongs to the original instance becomes a button on the taskbar when the tab is switched. Fix is to never reparent to the desktop window and instead always reparent to the hidden window. BUG=616410 Review-Url: https://codereview.chromium.org/2031213002 Cr-Commit-Position: refs/heads/master@{#397790} (cherry picked from commit b35c046639c244df4a954a791e24cfe7d5270daa) Committed: https://chromium.googlesource.com/chromium/src/+/2529de3d35849bb1e6a4d9b8ec80ca41c9004f3d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -10 lines) Patch
M content/browser/renderer_host/legacy_render_widget_host_win.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
dmazzoni
4 years, 6 months ago (2016-06-07 23:38:59 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
2529de3d35849bb1e6a4d9b8ec80ca41c9004f3d.

Powered by Google App Engine
This is Rietveld 408576698