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

Issue 605192 link

Starred by 16 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature

Blocked on:
issue 740268



Sign in to add a comment

Can't "restore" old window arrangements on multi-monitor setup

Reported by tikiman...@gmail.com, Apr 20 2016

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 7834.70.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Platform: 7834.70.0 (Official Build) stable-channel swanky

Steps to reproduce the problem:
1. Plug in external monitor (HDMI in my case) to chromebook
2. Drag window from primary to secondary monitor
3. Unplug external monitor
4. Re-connect external monitor

What is the expected behavior?
Windows previously dragged to other monitors should be automatically positioned in their previous position (and previous maximize/minimize state) upon reconnection to the same external monitor. 

What went wrong?
The windows previously placed on the secondary monitor get lumped back on the primary monitor upon reconnection to the external monitor, forcing time-consuming manual rearrangement each time. 

Did this work before? No 

Chrome version: 49.0.2623.112  Channel: n/a
OS Version: 7834.70.0
Flash Version: Shockwave Flash 21.0 r0

I use a chromebook, and was told to place an issue here when I posted a similar post back at the Chromebook Central Help Forum. This is so frustrating, and a solution would save me much time, as I have to manually drag 6-7 windows each time.

Thanks!
-Adam
 
Components: -UI UI>Shell>MultipleMonitor UI>Shell>WindowManager
Labels: -Type-Bug Type-Feature
Owner: kuscher@chromium.org
Status: Assigned (was: Unconfirmed)
It's debatable what the right behavior is here.

If an external display is removed we reflow the display. Now, the internal display "owns" those windows. If you plug the display back in we'd have to undo that reflow. If the user hasn't touched anything that makes some sense.

If the user has interacted with the windows though, it's really unclear whether they'd want to have those windows stay on the current display or move back to the newly connected display.

I can see the frustration.  Getting this right would turn into a rabbit hole REALLY quickly though.

kuscher@ any thoughts?

Comment 2 by osh...@chromium.org, Apr 21 2016

I believe there was a similar bug filed for this.

Yes, doing this right is complicated. You may plug in different display, which can have different layouts, session restore, how existing auto arrangement should work with this concept (docked, snapped, panel, and resolution change).

I think if we ever do this, then it should be minimum and simple.
How about a hotkey to send a window to the secondary monitor? That would solve the bulk of the problem, which comes from un-maximizing the window, clicking, dragging, re-maximizing.

Comment 4 by agoode@chromium.org, Nov 21 2016

This is similar to moving windows around during resolution resizing. A technique I've seen work is to remember the window's last user-specified size and placement. If the geometry or layout of the screen changes, then try to first move each window back to its manually placed location. If that puts it out of bounds, then do an automatic move of the window (but remember where the user originally put it).

This way, if a monitor temporarily goes away and returns, windows will move around a bit but return to where the user put them.

Comment 5 by nachum@google.com, Jan 4 2018

I can't see a problem with auto-move to a re-plugged in monitor even if the window was interacted while monitor was un-plugged.

A common workflow for me is:
Work on chromebook while commuting.
Plug in to dual monitors while at work.
Unplug and work while commuting.
Plug in to single monitor while at home.

Both at work and at home, wherever window X was last, it should automatically move back there when the matching monitor is re-connected.

Make this an opt-in feature via settings to avoid confusion.

Is it feasible that an extension be written to achieve this?

Blockedon: 740268
Owner: ovanieva@chromium.org

Comment 8 by warx@chromium.org, Jan 31 2018

Cc: ovanieva@chromium.org
 Issue 657419  has been merged into this issue.

Comment 9 by warx@chromium.org, Jan 31 2018

Cc: afakhry@chromium.org mukai@chromium.org osh...@chromium.org
 Issue 501325  has been merged into this issue.

Comment 10 by e...@campi.xyz, Feb 28 2018

Hello,

This seems to be stuck on what would be the best approach, would it be possible to start by mimicking what other OS do? (Like how OSX behaves for example).

Common broken user Journey is:
1) User uses a Chromebook docked to a monitor.
2) Un-docks to go attend a meeting
3) Docks again and needs to re-arrange all windows.

To reply to nachum@, it could be done by an extension, as the system.display API exposes monitor data that would allow you to identify each monitor, and detect connection/disconnections. You could then store window positions before and after disconnecting, and switch back.

Regards,
Owner: warx@chromium.org
warx@ has already landed some changes in that direction.

Comment 12 by warx@chromium.org, Mar 7 2018

Labels: M-66
Status: Fixed (was: Assigned)
Fixed in m66 per issue 740268

Sign in to add a comment