unity8 surfaces that have never before been in windowed mode should cascade

Bug #1513813 reported by kevin gunn
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Pocket Desktop
Fix Committed
High
kevin gunn
Canonical System Image
Fix Released
High
Michał Sawicz
Ubuntu UX
Fix Committed
High
John Lea
unity8 (Ubuntu)
Fix Released
High
Lukáš Tinkl

Bug Description

when launching transitioning to windowed mode or launching applications in windowed mode, each window by default is the same size and locates to the same default location. would be nicer to cascade

--------------------------
Desired resolution:

- Window/Surface state should be remembered so that if a user switches from windowed mode to staged mode, when the user then switches back to windowed mode the windows should be restored to their previous windowed mode sizes and positions.

- This also applies to staged mode e.g. if a surface was in the sidestage, when the user switches back to staged mode the surface should still be in the side stage.

Related branches

kevin gunn (kgunn72)
Changed in canonical-pocket-desktop:
importance: Undecided → Medium
Changed in unity8 (Ubuntu):
importance: Undecided → Medium
Changed in canonical-pocket-desktop:
assignee: nobody → kevin gunn (kgunn72)
kevin gunn (kgunn72)
Changed in canonical-pocket-desktop:
importance: Medium → High
Changed in unity8 (Ubuntu):
importance: Medium → High
Changed in unity8 (Ubuntu):
assignee: nobody → Lukáš Tinkl (lukas-kde)
status: New → In Progress
kevin gunn (kgunn72)
Changed in canonical-devices-system-image:
milestone: none → ww08-2016
assignee: nobody → Michał Sawicz (saviq)
importance: Undecided → High
status: New → In Progress
Changed in canonical-pocket-desktop:
status: New → In Progress
Michał Sawicz (saviq)
Changed in canonical-devices-system-image:
milestone: ww08-2016 → 11
John Lea (johnlea)
description: updated
Changed in ubuntu-ux:
status: New → In Progress
importance: Undecided → High
assignee: nobody → John Lea (johnlea)
Revision history for this message
John Lea (johnlea) wrote :

@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).

Revision history for this message
kevin gunn (kgunn72) wrote :

@johnlea the question is not about remembering - and we currently already do that.
the question is, if you enter windowed mode, and you do not have any former window positions stored for any applications, e.g. it's the first time you're opening them. What would be the default location of windows in that case? today with no previous or pre-seeded info they stack directly on top of one another, which feels wrong.

Revision history for this message
John Lea (johnlea) wrote :

@kgunn72 ahh, that makes sense, from reading the original issue description I didn't get that this bug was *only* dealing with the issue of entering windowed mode for the first time when windows don't yet have a previous size/position. Yes, in this case the window positions should be cascaded, and the window size should be the default size requested by the application (if available) and if not available a standard size of our choosing.

I'll update the issue description, thanks!

Revision history for this message
John Lea (johnlea) wrote :

@kgunn72 description updated

description: updated
summary: - unity8 windowed mode should cascade
+ unity8 surfaces that have never before been in windowed mode should
+ cascade
description: updated
Changed in unity8 (Ubuntu):
status: In Progress → Fix Committed
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: Fix Committed → Fix Released
Changed in canonical-pocket-desktop:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in ubuntu-ux:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.