Desktop file can specify a splash image and background color that shell will show until app is ready
Bug #1254775 reported by
Cris Dywan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Invalid
|
Undecided
|
Unassigned | ||
unity-api (Ubuntu) |
Fix Released
|
Undecided
|
Daniel d'Andrada | ||
unity8 (Ubuntu) |
Fix Released
|
High
|
Daniel d'Andrada |
Bug Description
Unity should pick up a splash screen from the .desktop file to be shown while the real app is still starting up.
It's suggested to support SVG and SCI.
The field might be X-Ubuntu-
Related branches
lp://staging/~dandrader/unity8/real_header_splashscreen
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Gerry Boland (community): Approve
-
Diff: 769 lines (+425/-127)18 files modifieddebian/control (+3/-3)
plugins/Unity/Launcher/CMakeLists.txt (+1/-1)
qml/Stages/ApplicationWindow.qml (+16/-1)
qml/Stages/Dot.qml (+0/-25)
qml/Stages/MainViewStyle.qml (+79/-0)
qml/Stages/PageHeadStyle.qml (+76/-0)
qml/Stages/PhoneStage.qml (+2/-2)
qml/Stages/Splash.qml (+108/-14)
qml/Stages/WaitingDots.qml (+0/-76)
qml/Stages/graphics/PageHeaderBaseDividerLight@18.sci (+5/-0)
tests/mocks/Unity/Application/ApplicationInfo.h (+7/-0)
tests/mocks/Unity/Application/CMakeLists.txt (+1/-1)
tests/plugins/Unity/Launcher/CMakeLists.txt (+1/-1)
tests/plugins/Unity/Launcher/launchermodeltest.cpp (+6/-1)
tests/qmltests/CMakeLists.txt (+1/-0)
tests/qmltests/Components/tst_DragHandle/HorizontalShowable.qml (+1/-1)
tests/qmltests/Components/tst_DragHandle/VerticalShowable.qml (+1/-1)
tests/qmltests/Stages/tst_Splash.qml (+117/-0)
lp://staging/~dandrader/qtmir/parse_splash_from_desktop_file
- Gerry Boland (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
-
Diff: 191 lines (+108/-5)5 files modifieddebian/control (+2/-2)
src/modules/Unity/Application/application.cpp (+75/-0)
src/modules/Unity/Application/application.h (+7/-0)
src/modules/Unity/Application/desktopfilereader.cpp (+11/-2)
src/modules/Unity/Application/desktopfilereader.h (+13/-1)
lp://staging/~dandrader/unity-api/splash
- PS Jenkins bot (community): Approve (continuous-integration)
- Michael Zanetti (community): Abstain
- Gerry Boland (community): Approve
-
Diff: 342 lines (+175/-11)12 files modifieddebian/changelog (+6/-0)
include/unity/shell/application/ApplicationInfoInterface.h (+85/-0)
include/unity/shell/application/CMakeLists.txt (+1/-1)
test/qmltest/mocks/plugins/Unity/Application/CMakeLists.txt (+3/-2)
test/qmltest/mocks/plugins/Unity/Application/Mocks/MockApplicationInfo.cpp (+30/-0)
test/qmltest/mocks/plugins/Unity/Application/Mocks/MockApplicationInfo.h (+7/-0)
test/qmltest/mocks/plugins/Unity/Launcher/CMakeLists.txt (+1/-1)
test/qmltest/modules/TestUtil/CMakeLists.txt (+6/-6)
test/qmltest/modules/TestUtil/TestUtil.cpp (+15/-0)
test/qmltest/modules/TestUtil/TestUtil.h (+4/-0)
test/qmltest/modules/TestUtil/Verifier.qml (+11/-1)
test/qmltest/unity/shell/application/tst_Application.qml (+6/-0)
Changed in unity8: | |
status: | New → Triaged |
importance: | Undecided → Medium |
summary: |
- Load splashscreen from .desktop file + Desktop file can specify a splash image and background color that shell + will show until app is ready |
Changed in unity8: | |
assignee: | Gerry Boland (gerboland) → Florian Boucault (fboucault) |
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Florian Boucault (fboucault) |
status: | New → In Progress |
Changed in unity8: | |
status: | Triaged → In Progress |
tags: | added: rtm14 |
Changed in unity8: | |
importance: | Medium → High |
Changed in ubuntu-ui-toolkit: | |
status: | In Progress → Invalid |
assignee: | Florian Boucault (fboucault) → nobody |
Changed in unity8: | |
assignee: | Florian Boucault (fboucault) → nobody |
Changed in unity8: | |
assignee: | nobody → Daniel d'Andrada (dandrader) |
status: | Confirmed → In Progress |
tags: | added: touch-2014-10-02 |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Daniel d'Andrada (dandrader) |
importance: | Undecided → High |
status: | New → In Progress |
no longer affects: | unity8 |
Changed in unity-api (Ubuntu): | |
assignee: | nobody → Daniel d'Andrada (dandrader) |
status: | New → In Progress |
Changed in unity8 (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity-api (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity8 (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in unity-api (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Update!
The following info is specified by the app developer in the desktop file:
- filename
- background colour
Fields can be Splash- Image=filename Splash- Color=# rrggbb
X-Ubuntu-
X-Ubuntu-
If these are set, the splash screen will be generated with a filled background colour (default black), plus the image centered and scaled to fit (if needed).
If these are not set, a fallback splash is used by the shell with a loading animation on a black background