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

Issue 2031213002: Fix a bug with the Chrome legacy window at times becoming a top level window with a non functional … (Closed)

Created:
4 years, 6 months ago by ananta
Modified:
4 years, 6 months ago
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@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/b35c046639c244df4a954a791e24cfe7d5270daa Cr-Commit-Position: refs/heads/master@{#397790}

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: 19 (8 generated)
ananta
4 years, 6 months ago (2016-06-03 02:38:22 UTC) #2
sky
LGTM - please add a test as well.
4 years, 6 months ago (2016-06-03 02:39:02 UTC) #3
ananta
+ncarter for content owners
4 years, 6 months ago (2016-06-03 02:40:03 UTC) #5
ananta
On 2016/06/03 02:39:02, sky wrote: > LGTM - please add a test as well. Will ...
4 years, 6 months ago (2016-06-03 02:40:53 UTC) #6
ananta
+dmazzoni.
4 years, 6 months ago (2016-06-03 02:41:21 UTC) #8
dmazzoni
lgtm, this seems good I still think https://codereview.chromium.org/1987903002/ would be a better solution, because then ...
4 years, 6 months ago (2016-06-03 15:46:56 UTC) #9
ananta
+nick for real this time
4 years, 6 months ago (2016-06-03 19:41:53 UTC) #12
ncarter (slow)
lgtm
4 years, 6 months ago (2016-06-03 20:13:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2031213002/1
4 years, 6 months ago (2016-06-03 20:15:59 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-03 20:20:36 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 20:22:59 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b35c046639c244df4a954a791e24cfe7d5270daa
Cr-Commit-Position: refs/heads/master@{#397790}

Powered by Google App Engine
This is Rietveld 408576698