support using a pre-loaded page in BottomEdge component
Bug #1540454 reported by
Bill Filler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Zsombor Egri | ||
ubuntu-ui-toolkit (Ubuntu RTM) |
Fix Released
|
High
|
Zsombor Egri |
Bug Description
For performance reasons, an app should be able to pass a preloaded Page object to the BottomEdge component such that it can be rendered immediately (still async) without delay. Currently no such API exists and apps like messaging-app and address-book-app that have very complex pages have to do their own workarounds.
Related branches
lp://staging/~zsombi/ubuntu-ui-toolkit/bottomEdgePreloadsContent
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Benjamin Zeller: Approve
-
Diff: 1114 lines (+526/-116)13 files modifiedcomponents.api (+3/-0)
examples/ubuntu-ui-toolkit-gallery/BottomEdgePage.qml (+37/-3)
src/Ubuntu/Components/Themes/Ambiance/1.3/BottomEdgeStyle.qml (+4/-23)
src/Ubuntu/Components/plugin/ucbottomedge.cpp (+137/-45)
src/Ubuntu/Components/plugin/ucbottomedge.h (+7/-0)
src/Ubuntu/Components/plugin/ucbottomedge_p.h (+9/-3)
src/Ubuntu/Components/plugin/ucbottomedgeregion.cpp (+146/-31)
src/Ubuntu/Components/plugin/ucbottomedgeregion.h (+38/-7)
tests/unit_x11/tst_bottomedge/AutoCollapseInPageHeader.qml (+3/-1)
tests/unit_x11/tst_bottomedge/AutoCollapseInPageWithPageHeader.qml (+3/-1)
tests/unit_x11/tst_bottomedge/PreloadedContent.qml (+60/-0)
tests/unit_x11/tst_bottomedge/tst_bottomedge.cpp (+76/-0)
tests/unit_x11/tst_bottomedge/tst_bottomedge.pro (+3/-2)
lp://staging/~zsombi/ubuntu-ui-toolkit/asyncLoader
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Benjamin Zeller: Approve
-
Diff: 910 lines (+778/-4)18 files modifieddebian/control (+10/-0)
debian/libubuntutoolkit5-dev.install (+2/-0)
debian/libubuntutoolkit5-private-dev.install (+1/-0)
src/Ubuntu/Test/plugin/uctestcase.cpp (+13/-0)
src/Ubuntu/Test/plugin/uctestcase.h (+1/-0)
src/Ubuntu/UbuntuToolkit/UbuntuToolkit.pro (+5/-2)
src/Ubuntu/UbuntuToolkit/asyncloader.cpp (+222/-0)
src/Ubuntu/UbuntuToolkit/asyncloader.h (+63/-0)
src/Ubuntu/UbuntuToolkit/asyncloader_p.h (+54/-0)
tests/unit/plugin_dependency.pri (+1/-0)
tests/unit/test-include.pri (+1/-1)
tests/unit_x11/tst_asyncloader/Document.qml (+31/-0)
tests/unit_x11/tst_asyncloader/FaultyDocument.qml (+20/-0)
tests/unit_x11/tst_asyncloader/HeavyDocument.qml (+31/-0)
tests/unit_x11/tst_asyncloader/TestApp.qml (+22/-0)
tests/unit_x11/tst_asyncloader/tst_asyncloader.cpp (+288/-0)
tests/unit_x11/tst_asyncloader/tst_asyncloader.pro (+11/-0)
tests/unit_x11/unit_x11.pro (+2/-1)
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
assignee: | nobody → Zsombor Egri (zsombi) |
assignee: | Zsombor Egri (zsombi) → Zoltan Balogh (bzoltan) |
milestone: | none → ww08-2016 |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
milestone: | ww08-2016 → 11 |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Zsombor Egri (zsombi) |
Changed in canonical-devices-system-image: | |
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 bug was fixed in the package ubuntu-ui-toolkit 1.3.1918+ 15.04.20160404- 0ubuntu1 in https:/ /launchpad. net/~ci- train-ppa- service/ +archive/ ubuntu/ stable- phone-overlay
---------------
ubuntu-ui-toolkit (1.3.1918+ 15.04.20160404- 0ubuntu1) vivid; urgency=medium
[ Benjamin Zeller ]
* Register expected warning messages in the tree testcase.
* Add testsuite for Tree. Fixes LP: #1549171.
* Compile with Qt 5.6. Fixes LP: #1540356
* More Qt 5.6 fixes.
[ Michael Terry ]
* Add grabGesture field to SwipeArea.
* This field controls whether the SwipeArea takes ownership of the gestures it
observes. Fixes LP: #1527387.
[ Timo Jyrinki ] overrides.
* Add a test for blocking if packaging not sorted and clean.
* More package name transitioning, wrap and sort, fix debian/copyright syntax,
update standards-version, fix devel package sections and add/fix
lintian-
[ Olivier Tilloy ] ve5-ubuntu- ui-toolkit- plugin. Fixes LP: #1553551.
* Fix dependencies of the transitional dummy package
qtdeclarati
[ Christian Dywan ] *-plugin to qml-module-*. Fixes LP: #1342031.
* Rename qtdeclarative5-
* Require a qtdeclarative5 known to have the tab fence patch.
* Reset previous theme version and use UbuntuTestCase in tst_animator.
* BottomEdge(Hint) focus and close via keyboard. Fixes LP: #1523825
* Add 1.3 version of UbuntuTestCase.
* No gdb when running unit tests on armv7l.
* Build-depend on python3-debian for wrap-and-sort.
[ XiaoGuo Liu ]
* Fix AdaptivePageLayout documentation.
[ Tim Peeters ]
* Properly disable left/right arrows on sections when at the beginning/end of
the list. Fixes LP: #1551356.
* Sections and old AppHeader landscape mode. Fixes LP: #1551341.
* Set the window color as soon as the window is available, to avoid a
flickering background when it is updated later.
Fixes LP: #1439133, LP: #1554897
* Add theme, style and styleName properties to Dialog and Popover.
Fixes LP: #1555548
* Update the gallery script to use the new name of the export script.
* Export the full list of library paths.
* Prevent Page geometry changes in APL when changing Pages in a column.
* Fix typo in DatePickerStyle. Fixes: LP #1561440.
[ Zsombor Egri ] preloadContent. Fixes LP: #1540454. xtColumn( ) is called. Fixes LP: #1544745
* ListItem focus navigation in ListView and other views.
Fixes LP: #1523815, LP: #1536679, LP: #1549733, LP: #1549743
* BorromEdge.
* Asynchronous loader (AsyncLoader) using incubator, prerequisite for
BottomEdge preloading its content. Fixes LP: #1540454.
* ListView proxy should not consume up/down key events. Fixes LP: #1554447
* Pick up the right style. Fixes LP: #1555797
* Label makes sure the color alteration is known by the theming.
Fixes LP: #1555784
* Fix AsyncLoader tests so they create slightly less amount of elements.
* AdaptivePageLayout removes all pages pushed to next columns when
addPageToNe
* Fix BottomEdge content discarding.
* Disconnect enabled signal in Label in destructor, so functor call will not
be handled when QQuickItem triggers enabled change. Fixes LP: #1560044.
[ Andrea Bernabei ]
* UI G...