[enhancement] Implement support for window states based on form factor
Bug #1535397 reported by
Michał Sawicz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Pocket Desktop |
Fix Committed
|
High
|
Michał Sawicz | ||
Canonical System Image |
Fix Released
|
High
|
Michał Sawicz | ||
Mir |
Fix Released
|
High
|
Alan Griffiths | ||
The Avila project |
In Progress
|
High
|
Michał Sawicz | ||
camera-app (Ubuntu) |
Fix Released
|
High
|
Florian Boucault | ||
gallery-app (Ubuntu) |
Fix Released
|
High
|
Arthur Mello | ||
mediaplayer-app (Ubuntu) |
Fix Released
|
High
|
Renato Araujo Oliveira Filho | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
qtmir (Ubuntu) |
Fix Released
|
High
|
Nick Dedekind | ||
qtubuntu (Ubuntu) |
Fix Released
|
High
|
Nick Dedekind | ||
unity8 (Ubuntu) |
Fix Released
|
High
|
Nick Dedekind |
Bug Description
We need to support windows in Staged mode to go fullscreen, whereas in windowed, it should be a normal window.
Related branches
lp://staging/~alan-griffiths/mir/add-mir_surface_spec_set_shell_chrome
- PS Jenkins bot (community): Approve (continuous-integration)
- Alberto Aguirre (community): Approve
- Brandon Schaefer (community): Approve
- Mir CI Bot: Needs Fixing (continuous-integration)
- Nick Dedekind (community): Approve
- Michał Sawicz: Approve (conceptual)
-
Diff: 252 lines (+108/-2)12 files modifiedinclude/client/mir_toolkit/mir_surface.h (+10/-0)
include/common/mir_toolkit/common.h (+9/-0)
include/server/mir/scene/surface_creation_parameters.h (+1/-0)
include/server/mir/shell/surface_specification.h (+1/-0)
src/client/mir_connection.cpp (+1/-0)
src/client/mir_surface.cpp (+1/-0)
src/client/mir_surface.h (+1/-0)
src/client/mir_surface_api.cpp (+6/-0)
src/client/symbols.map (+1/-2)
src/protobuf/mir_protobuf.proto (+2/-0)
src/server/frontend/session_mediator.cpp (+2/-0)
tests/acceptance-tests/test_custom_window_management.cpp (+73/-0)
lp://staging/~renatofilho/mediaplayer-app/pocket-pc-full-screen
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 75 lines (+13/-16)2 files modifiedsrc/mediaplayer.cpp (+8/-12)
src/qml/player/Controls.qml (+5/-4)
lp://staging/~artmello/gallery-app/gallery-app-convergence_fullscreen
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 285 lines (+59/-33)9 files modifiedclick/manifest.json.in (+1/-1)
rc/qml/AlbumViewer/AlbumViewer.qml (+4/-4)
rc/qml/AlbumsOverview.qml (+1/-1)
rc/qml/GalleryApplication.qml (+6/-8)
rc/qml/MainScreen.qml (+3/-3)
rc/qml/MediaViewer/PopupPhotoViewer.qml (+2/-2)
rc/qml/PickerScreen.qml (+1/-1)
src/gallery-application.cpp (+33/-9)
src/gallery-application.h (+8/-4)
lp://staging/~fboucault/camera-app/fullscreen_staged_only
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 204 lines (+46/-16)7 files modifiedGalleryView.qml (+2/-0)
PhotogridView.qml (+1/-1)
SlideshowView.qml (+3/-5)
ViewFinderOverlay.qml (+3/-3)
ViewFinderOverlayLoader.qml (+3/-1)
ViewFinderView.qml (+2/-1)
camera-app.qml (+32/-5)
lp://staging/~fboucault/camera-app/convergence_fullscreen
Superseded
for merging
into
lp://staging/camera-app
- Ubuntu Phablet Team: Pending requested
-
Diff: 204 lines (+46/-16)7 files modifiedGalleryView.qml (+2/-0)
PhotogridView.qml (+1/-1)
SlideshowView.qml (+3/-5)
ViewFinderOverlay.qml (+3/-3)
ViewFinderOverlayLoader.qml (+3/-1)
ViewFinderView.qml (+2/-1)
camera-app.qml (+32/-5)
lp://staging/~unity-team/qtmir/shell_chrome
- Gerry Boland (community): Approve
- Unity8 CI Bot (community): Needs Fixing (continuous-integration)
- Lukáš Tinkl (community): Needs Fixing
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
-
Diff: 1146 lines (+196/-124)29 files modifiedCMakeLists.txt (+1/-1)
debian/changelog (+7/-0)
debian/control (+2/-2)
src/modules/Unity/Application/application.cpp (+2/-1)
src/modules/Unity/Application/application.h (+1/-3)
src/modules/Unity/Application/application_manager.cpp (+3/-14)
src/modules/Unity/Application/application_manager.h (+1/-11)
src/modules/Unity/Application/mirsurface.cpp (+26/-7)
src/modules/Unity/Application/mirsurface.h (+6/-3)
src/modules/Unity/Application/mirsurfaceinterface.h (+2/-0)
src/modules/Unity/Application/mirsurfaceitem.cpp (+6/-0)
src/modules/Unity/Application/mirsurfaceitem.h (+1/-0)
src/modules/Unity/Application/mirsurfacemanager.cpp (+5/-6)
src/modules/Unity/Application/mirsurfacemanager.h (+2/-2)
src/modules/Unity/Application/session.cpp (+3/-1)
src/platforms/mirserver/CMakeLists.txt (+1/-1)
src/platforms/mirserver/creationhints.cpp (+28/-5)
src/platforms/mirserver/creationhints.h (+11/-7)
src/platforms/mirserver/mirwindowmanager.cpp (+6/-7)
src/platforms/mirserver/sessionlistener.cpp (+5/-5)
src/platforms/mirserver/sessionlistener.h (+4/-4)
src/platforms/mirserver/surfaceobserver.cpp (+6/-2)
src/platforms/mirserver/surfaceobserver.h (+2/-1)
tests/framework/fake_mirsurface.h (+3/-0)
tests/framework/qtmir_test.cpp (+1/-1)
tests/mirserver/WindowManager/CMakeLists.txt (+2/-0)
tests/mirserver/WindowManager/window_manager.cpp (+26/-5)
tests/modules/ApplicationManager/application_manager_test.cpp (+29/-31)
tests/modules/SurfaceManager/mirsurface_test.cpp (+4/-4)
lp://staging/~nick-dedekind/unity-api/shell_chrome
- Gerry Boland (community): Approve
- Unity8 CI Bot: Approve (continuous-integration)
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 124 lines (+40/-1)4 files modifiedinclude/unity/shell/application/CMakeLists.txt (+1/-1)
include/unity/shell/application/Mir.h (+23/-0)
include/unity/shell/application/MirSurfaceInterface.h (+8/-0)
include/unity/shell/application/MirSurfaceItemInterface.h (+8/-0)
lp://staging/~unity-team/unity8/shell_chrome
- Daniel d'Andrada (community): Needs Information
- Gerry Boland (community): Approve
- Unity8 CI Bot: Needs Fixing (continuous-integration)
- PS Jenkins bot: Pending (continuous-integration) requested
- Michał Sawicz: Pending requested
-
Diff: 862 lines (+367/-28)20 files modifiedqml/Components/InputMethod.qml (+4/-1)
qml/Shell.qml (+5/-1)
qml/Stages/AbstractStage.qml (+2/-0)
qml/Stages/DesktopStage.qml (+71/-12)
qml/Stages/PhoneStage.qml (+10/-0)
qml/Stages/StagedFullscreenPolicy.qml (+58/-0)
qml/Stages/TabletStage.qml (+9/-0)
qml/Stages/WindowResizeArea.qml (+2/-2)
qml/Stages/WindowedFullscreenPolicy.qml (+41/-0)
tests/mocks/Unity/Application/ApplicationInfo.cpp (+21/-3)
tests/mocks/Unity/Application/ApplicationInfo.h (+5/-1)
tests/mocks/Unity/Application/ApplicationManager.cpp (+6/-4)
tests/mocks/Unity/Application/MirSurface.cpp (+16/-0)
tests/mocks/Unity/Application/MirSurface.h (+5/-3)
tests/mocks/Unity/Application/MirSurfaceItem.cpp (+9/-0)
tests/mocks/Unity/Application/MirSurfaceItem.h (+1/-0)
tests/mocks/Unity/Application/Session.cpp (+26/-1)
tests/mocks/Unity/Application/Session.h (+7/-0)
tests/qmltests/Stages/tst_WindowResizeArea.qml (+7/-0)
tests/qmltests/tst_Shell.qml (+62/-0)
lp://staging/~nick-dedekind/qtubuntu/shell_chrome
- Gerry Boland (community): Approve
- Unity8 CI Bot: Approve (continuous-integration)
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 516 lines (+212/-79)3 files modifiedsrc/ubuntumirclient/input.cpp (+39/-1)
src/ubuntumirclient/window.cpp (+162/-77)
src/ubuntumirclient/window.h (+11/-1)
Changed in qtubuntu (Ubuntu): | |
assignee: | nobody → Lukáš Tinkl (lukas-kde) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in canonical-devices-system-image: | |
milestone: | none → ww04-2016 |
status: | New → Triaged |
assignee: | nobody → Michał Sawicz (saviq) |
importance: | Undecided → High |
Changed in avila: | |
assignee: | nobody → Michał Sawicz (saviq) |
Changed in mir: | |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
Changed in mir: | |
importance: | Undecided → High |
Changed in mir: | |
milestone: | none → 0.19.0 |
summary: |
- Implement support for QWindow::visibility set to Automatic + [enhancement] Implement support for QWindow::visibility set to Automatic |
tags: | added: enhancement |
Changed in qtmir: | |
assignee: | nobody → Lukáš Tinkl (lukas-kde) |
status: | New → In Progress |
Changed in unity8 (Ubuntu): | |
status: | Triaged → In Progress |
Changed in canonical-devices-system-image: | |
status: | Triaged → In Progress |
Changed in unity8 (Ubuntu): | |
assignee: | Lukáš Tinkl (lukas-kde) → Nick Dedekind (nick-dedekind) |
Changed in qtubuntu (Ubuntu): | |
assignee: | Lukáš Tinkl (lukas-kde) → Nick Dedekind (nick-dedekind) |
status: | Triaged → In Progress |
Changed in camera-app (Ubuntu): | |
assignee: | nobody → Florian Boucault (fboucault) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in gallery-app (Ubuntu): | |
assignee: | nobody → Arthur Mello (artmello) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in mediaplayer-app (Ubuntu): | |
assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
importance: | Undecided → High |
status: | New → In Progress |
tags: | added: lt-blocker |
Changed in qtmir: | |
assignee: | Lukáš Tinkl (lukas-kde) → Nick Dedekind (nick-dedekind) |
summary: |
- [enhancement] Implement support for QWindow::visibility set to Automatic + [enhancement] Implement support for window states based on form factor |
description: | updated |
Changed in canonical-pocket-desktop: | |
assignee: | nobody → Michał Sawicz (saviq) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in avila: | |
importance: | Undecided → High |
milestone: | none → ww06-2016 |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
milestone: | ww04-2016 → ww08-2016 |
Changed in qtmir (Ubuntu): | |
assignee: | nobody → Nick Dedekind (nick-dedekind) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-pocket-desktop: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Changed in qtmir: | |
status: | In Progress → Fix Released |
Changed in camera-app (Ubuntu): | |
status: | In Progress → Fix Released |
no longer affects: | qtmir |
To post a comment you must log in.
What we roughly need in Mir is to extend MirSurfaceState enum with a value of e.g. "mir_surface_ state_automatic " which will be then later resolved by Unity8 to either fullscreen or to windowed based on the current u8 stage (phone vs. desktop)