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

Issue 824938 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Windows that are maximized on one monitor "restore" to the wrong position if monitor config is changed

Project Member Reported by w...@chromium.org, Mar 22 2018

Issue description

Chrome Version: 65.0.3325.107
OS: ChromeOS

What steps will reproduce the problem?
(1) Maximize a window on one monitor of a two-monitor system.
(2) Swap which monitor is left- and which is right-hand-side.
(3) Un-maximize (aka "restore") the window.

What is the expected result?

Expect that the window restores to a position on the monitor it is maximized on.

What happens instead?

It seems that the restore position for the window is relative to the "primary" monitor, so I ended up with a window that was somewhere off the right-hand-side of my right-hand monitor, where the window had been maximized on the left-hand-side monitor, before they were swapped.
 

Comment 1 by osh...@chromium.org, Mar 22 2018

Owner: warx@chromium.org
Status: Assigned (was: Untriaged)
Is this regression? IIRC, the restore bounds is stored in relative to the current display's oritin.

Comment 2 by w...@chromium.org, Mar 22 2018

I'm not sure; the setup I had was with two monitors, let's call them 1 & 2, and originally ChromeOS though the layout was 2-1. GMail was on 1, maximized. I rearranged them to 1-2, and then restored GMail. At that point it restored to the right of 2.

It very much looked as though GMail's restore position had been stored as relative to monitor 2, even though it was maximized on monitor 1.

Comment 3 by warx@chromium.org, Mar 23 2018

Status: WontFix (was: Assigned)
I cannot reproduce it on emulator with ToT code. It works fine with repro steps.

Sign in to add a comment