unity8 surfaces that have never before been in windowed mode should cascade
Bug #1513813 reported by
kevin gunn
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
lp:~lukas-kde/unity8/cascadeWindows
- Unity8 CI Bot: Needs Fixing (continuous-integration)
- Albert Astals Cid (community): Abstain (merges fine)
- Lukáš Tinkl (community): Approve
- PS Jenkins bot: Pending (continuous-integration) requested
- Michael Zanetti: Pending requested
-
Diff: 13 lines (+2/-1)1 file modifiedqml/Stages/DesktopStage.qml (+2/-1)
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) |
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 |
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 |
Changed in canonical-devices-system-image: | |
milestone: | ww08-2016 → 11 |
description: | updated |
Changed in ubuntu-ux: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → John Lea (johnlea) |
Changed in unity8 (Ubuntu): | |
status: | In Progress → Fix Committed |
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.
@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/1L85DdfDd3lDb vchYbgQ45C_ lJ1IeTMG4uc7Nuq _XdAE/edit# heading= h.lo6wjg7251og (private document).