diff options
author | afakhry <afakhry@chromium.org> | 2015-04-30 18:02:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-01 01:04:17 +0000 |
commit | 0c215419d6743dd77e5c42d35d5819ffe679340c (patch) | |
tree | 2dd5bac92feaf116f48ec5720e764ecc829bf971 /components/policy/BUILD.gn | |
parent | a7ae971275f2aa0a7a6501c72b571939c44baa2b (diff) | |
download | chromium_src-0c215419d6743dd77e5c42d35d5819ffe679340c.zip chromium_src-0c215419d6743dd77e5c42d35d5819ffe679340c.tar.gz chromium_src-0c215419d6743dd77e5c42d35d5819ffe679340c.tar.bz2 |
Window order is not preserved when switching between user profiles
This was caused by the disposition change behavior of the focus controller,
which when we hide the windows of the first user one by one, it tried to
give focus to the next activateable window. This results in a change in
the most recent activated window before we switch to the new user. When we
return back to the original user, we find the order of windows had changed,
and this is the bug.
To avoid this bug, we need to make use of the MRU window tracker's tracked windows while hiding the old user's windows, in order to hide the MRU window last. Hence by the time it's hidden, there are no other windows activateable to give focus to.
BUG=424307
TEST=unit_tests --gtest_filter=MultiUserWindowManagerChromeOSTest.*
Review URL: https://codereview.chromium.org/1059473004
Cr-Commit-Position: refs/heads/master@{#327853}
Diffstat (limited to 'components/policy/BUILD.gn')
0 files changed, 0 insertions, 0 deletions