Comment 1 for bug 1513813

Revision history for this message
John Lea (johnlea) wrote : Re: unity8 windowed mode should cascade

@lukas-kde @saviq I've updated the bug description to clarify this change, but I've got a question about the original description - what exactly was meant by 'cascade'? If this is what I think it means e.g. display the windows in a diagonal stack then this is not the desired behavior. We should restore all windows to as close to their original sizes and positions when switching back to windowed mode.

When a user switches back to windowed mode on a different size/resolution display (as is very possible in the convergence case), then we should follow the logic described in the MIR spec for how the windows sizes and positions are modified as minimally as possible to fit onto the new screen size. See the section titled "When a display shrinks, rotates, or is removed" in spec https://docs.google.com/document/d/1L85DdfDd3lDbvchYbgQ45C_lJ1IeTMG4uc7Nuq_XdAE/edit#heading=h.lo6wjg7251og (private document).