no splash screen when restarting app killed by lifecycle manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtmir (Ubuntu) |
Fix Released
|
Critical
|
Daniel d'Andrada |
Bug Description
build 203 running on krillin
When an app is killed by the lifecycle manager, upon switching back to it the user is presented with a black screen with no feedback when switching back to the app. There should be some sort of splash screen/
To reproduce:
- use krillin phone
- launch Facebook webapp
- click on a link in a post that will open webbrowser-app
- now you are in webbrowser app
- use the spread to navigate back to Facebook app
Expected result:
- if the app was killed by lifecycle mgr, it should be relaunched with feedback and then displayed where it was left off
Actual result:
- a black screen is shown for some seconds with no feedback and then the app is shown
Note, will file another bug about how when app is relaunched it's window is cut off.
Related branches
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Michał Sawicz: Approve
- Michael Zanetti (community): Approve (functional testing)
- Gerry Boland (community): Approve (code)
-
Diff: 559 lines (+220/-109)11 files modifieddebian/control (+2/-2)
src/modules/Unity/Application/application.cpp (+6/-39)
src/modules/Unity/Application/application.h (+0/-6)
src/modules/Unity/Application/application_manager.cpp (+0/-31)
src/modules/Unity/Application/application_manager.h (+1/-5)
src/modules/Unity/Application/applicationscreenshotprovider.cpp (+52/-11)
tests/modules/ApplicationManager/ApplicationManager.pro (+2/-1)
tests/modules/ApplicationManager/application_manager_test.cpp (+24/-11)
tests/modules/common/common.pri (+5/-3)
tests/modules/common/mock_renderable.h (+43/-0)
tests/modules/common/mock_surface.h (+85/-0)
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Michael Zanetti (community): Approve
- Michał Sawicz: Approve
- Gerry Boland (community): Needs Information
-
Diff: 3182 lines (+1502/-760)40 files modifieddebian/control (+3/-3)
include/paths.h.in (+8/-0)
plugins/Unity/Launcher/CMakeLists.txt (+1/-1)
qml/Stages/AppSurfaceContainer.qml (+0/-96)
qml/Stages/ApplicationWindow.qml (+258/-0)
qml/Stages/PhoneStage.qml (+16/-4)
qml/Stages/SpreadDelegate.qml (+34/-59)
qml/Stages/SurfaceContainer.qml (+5/-11)
qml/Stages/TabletStage.qml (+13/-3)
qml/Stages/TransformedSpreadDelegate.qml (+1/-1)
tests/mocks/Unity/Application/Application.qmltypes (+0/-19)
tests/mocks/Unity/Application/ApplicationImage.cpp (+0/-123)
tests/mocks/Unity/Application/ApplicationImage.h (+0/-79)
tests/mocks/Unity/Application/ApplicationInfo.cpp (+83/-14)
tests/mocks/Unity/Application/ApplicationInfo.h (+52/-46)
tests/mocks/Unity/Application/ApplicationManager.cpp (+91/-106)
tests/mocks/Unity/Application/ApplicationManager.h (+8/-4)
tests/mocks/Unity/Application/ApplicationScreenshotProvider.cpp (+2/-4)
tests/mocks/Unity/Application/CMakeLists.txt (+1/-3)
tests/mocks/Unity/Application/InputFilterArea.qml (+0/-21)
tests/mocks/Unity/Application/MirSurfaceItem.cpp (+87/-16)
tests/mocks/Unity/Application/MirSurfaceItem.h (+14/-11)
tests/mocks/Unity/Application/MirSurfaceItem.qml (+57/-0)
tests/mocks/Unity/Application/OSKController.qml (+0/-20)
tests/mocks/Unity/Application/SurfaceManager.cpp (+14/-3)
tests/mocks/Unity/Application/SurfaceManager.h (+1/-2)
tests/mocks/Unity/Application/VirtualKeyboard.cpp (+0/-55)
tests/mocks/Unity/Application/VirtualKeyboard.h (+0/-35)
tests/mocks/Unity/Application/VirtualKeyboard.qml (+40/-0)
tests/mocks/Unity/Application/plugin.cpp (+0/-3)
tests/mocks/Unity/Application/qmldir (+0/-3)
tests/plugins/Unity/Launcher/CMakeLists.txt (+1/-1)
tests/plugins/Unity/Launcher/launchermodeltest.cpp (+0/-1)
tests/qmltests/CMakeLists.txt (+3/-0)
tests/qmltests/Stages/tst_ApplicationWindow.qml (+346/-0)
tests/qmltests/Stages/tst_PhoneStage.qml (+35/-9)
tests/qmltests/Stages/tst_SpreadDelegate.qml (+167/-0)
tests/qmltests/Stages/tst_SurfaceContainer.qml (+154/-0)
tests/qmltests/tst_Shell.qml (+2/-2)
tests/utils/modules/Unity/Test/UnityTestCase.qml (+5/-2)
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Michał Sawicz: Approve
- Gerry Boland (community): Needs Fixing
- Michael Zanetti (community): Approve
-
Diff: 208 lines (+8/-46)9 files modifieddebian/changelog (+6/-0)
include/unity/shell/application/ApplicationInfoInterface.h (+0/-9)
include/unity/shell/application/ApplicationManagerInterface.h (+0/-14)
include/unity/shell/application/CMakeLists.txt (+2/-2)
test/qmltest/mocks/plugins/Unity/Application/Mocks/MockApplicationInfo.cpp (+0/-5)
test/qmltest/mocks/plugins/Unity/Application/Mocks/MockApplicationInfo.h (+0/-2)
test/qmltest/mocks/plugins/Unity/Application/Mocks/MockApplicationManager.cpp (+0/-8)
test/qmltest/mocks/plugins/Unity/Application/Mocks/MockApplicationManager.h (+0/-2)
test/qmltest/unity/shell/application/tst_Application.qml (+0/-4)
Changed in qtmir (Ubuntu): | |
assignee: | nobody → Ricardo Mendoza (ricmm) |
importance: | Undecided → Critical |
tags: | added: rtm14 |
Changed in qtmir (Ubuntu): | |
assignee: | Ricardo Mendoza (ricmm) → Daniel d'Andrada (dandrader) |
Changed in qtmir (Ubuntu): | |
status: | New → In Progress |
description: | updated |
Changed in qtmir (Ubuntu): | |
status: | In Progress → Fix Released |
There are some branches about to land that fixes exactly that.
Once they land, you will see a screenshot of the dead app on the spread and upon selecting it, the screenshot will cross-fade with the new app instance once it's ready.