New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 693634 link

Starred by 0 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

App window hides in background gets shown after user switch

Project Member Reported by xiy...@chromium.org, Feb 17 2017

Issue description

If an app window calls hide while it is in the background user's desktop, the window will be shown when the user becomes active.

Repro steps:
1. Having two users, A and B, signed into a session;
2. Switch to user A
3. Unzip the attached hide_win.zip and installs it for user A;
4. Launch the app and click on the "Hide this window in 10 seconds" button;
5. Before the count down finishes, switch to user B;
6. Wait for 10 seconds. The count down should hide the window while A is in the background.
7. Switch back to user A

Expected:
The app window should stay hidden.

Actual:
The app window is shown.

Root cause:
MultiUserWindowManagerChromeOS manages window visibility for user. It caches a window's visibility in OnWindowVisibilityChanging and restores it when the user becomes active. However, in this case, when switching away from user A, all user A's windows are hidden. As a result, OnWindowVisibilityChanging is not called thus MultiUserWindowManagerChromeOS does not know the window has changed its visiblity.

We probably need a new solution.

 
hide_win.zip
1.4 KB Download

Comment 1 by skuhne@chromium.org, Feb 17 2017

Needless to say that this used to work. But thanks for looking into it!
Project Member

Comment 2 by sheriffbot@chromium.org, Feb 21 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".

Sign in to add a comment