New issue
Advanced search Search tips

Issue 611983 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug
mus



Sign in to add a comment

WindowTreeClientImpl Should Clear Focus on Deletion

Project Member Reported by jonr...@chromium.org, May 14 2016

Issue description

WindowTreeClientImpl caches the focused window, and does not clear this upon deletion.

It is possible to receive focus update messages from the window server after local deletion. We should update WindowTreeClientImpl to clear the local focus state on deletion to avoid attempting to access the window after free
 
Labels: tadpole mus
Project Member

Comment 2 by bugdroid1@chromium.org, Jun 3 2016

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

commit 14f17517b43e58c9017bc911f36b60f4d6de44fd
Author: jonross <jonross@chromium.org>
Date: Fri Jun 03 02:48:36 2016

Update WindowTreeClientImpl OnWindowDestroying

Update capture handling, forcing the queue to revert to null capture is incorrect. The in flight queue is listening for window destruction, and updates the revert target appropriately.

Capture does not need to be explicitly released here. mus::Window removes focus upon destruction. The in flight queue listens for this to update revert target appropriately.

TEST=views_mus_unittests, mus_public_unittests
BUG= 611983 

Review-Url: https://codereview.chromium.org/2021383002
Cr-Commit-Position: refs/heads/master@{#397602}

[modify] https://crrev.com/14f17517b43e58c9017bc911f36b60f4d6de44fd/components/mus/public/cpp/lib/window_tree_client.cc

Status: Fixed (was: Assigned)
Ended up proving that deletion appropriately clears focus state.
Labels: VerifyIn-53
Labels: VerifyIn-54

Comment 6 by dchan@chromium.org, Oct 7 2016

Labels: VerifyIn-55

Comment 7 by dchan@google.com, Nov 19 2016

Labels: VerifyIn-56

Comment 8 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 9 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 10 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 11 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 13 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)
Components: -MUS Internals>Services>WindowService

Sign in to add a comment