Merge lp://staging/~lukas-kde/unity8/appdrawer-search-more into lp://staging/unity8
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp://staging/~lukas-kde/unity8/appdrawer-search-more | ||||
Merge into: | lp://staging/unity8 | ||||
Prerequisite: | lp://staging/~mzanetti/unity8/appdrawer-recent-apps | ||||
Diff against target: |
384 lines (+91/-25) 14 files modified
plugins/Greeter/Unity/Launcher/launcheritem.cpp (+13/-0) plugins/Greeter/Unity/Launcher/launcheritem.h (+3/-0) plugins/Unity/Launcher/appdrawermodel.cpp (+3/-0) plugins/Unity/Launcher/launcheritem.cpp (+13/-0) plugins/Unity/Launcher/launcheritem.h (+3/-0) plugins/Unity/Launcher/ualwrapper.cpp (+6/-4) plugins/Unity/Launcher/ualwrapper.h (+1/-0) plugins/Utils/appdrawerproxymodel.cpp (+24/-19) qml/Launcher/Drawer.qml (+1/-0) tests/mocks/Unity/Launcher/MockLauncherItem.cpp (+13/-0) tests/mocks/Unity/Launcher/MockLauncherItem.h (+3/-0) tests/plugins/Unity/Launcher/appdrawermodeltest.cpp (+6/-2) tests/plugins/Unity/Launcher/ualwrapper.cpp (+1/-0) tests/plugins/Unity/Launcher/ualwrapper.h (+1/-0) |
||||
To merge this branch: | bzr merge lp://staging/~lukas-kde/unity8/appdrawer-search-more | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity8 CI Bot | continuous-integration | Needs Fixing | |
Albert Astals Cid (community) | Approve | ||
Review via email: mp+321998@code.staging.launchpad.net |
This proposal supersedes a proposal from 2017-04-04.
Commit message
Appdrawer: search in more fields (appid and description), optimize and massively speed up
Description of the change
Prereq-archive: ppa:ci-
Appdrawer: search in more fields (appid and description), optimize and massively speed up
As I added more field to search in, it slowed down a bit. So I optimized the tiny bits throughout the AppDrawerProxyModel but the biggest bottleneck turned out to be the toplevel dynamicSortFilter in Drawer.qml
* Are there any related MPs required for this MP to build/function as expected? Please list.
Yes, https:/
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* If you changed the UI, has there been a design review?
N/A
Unmerged revisions
- 2922. By Lukáš Tinkl
-
don't crash
- 2921. By Lukáš Tinkl
-
fix segfaulting test (add the missing description field)
- 2920. By Lukáš Tinkl
-
merge parent
- 2919. By Lukáš Tinkl
-
restore sortRole
- 2918. By Lukáš Tinkl
- 2917. By Lukáš Tinkl
-
invalidate and sort only after the source model had been set
- 2916. By Lukáš Tinkl
-
massive speedup by not using dynamicFilter \o/
- 2915. By Lukáš Tinkl
-
optimize the filterString search
- 2914. By Lukáš Tinkl
-
perform the search in appName and Description too
FAILED: Continuous integration, rev:2916 /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/3678/ /unity8- jenkins. ubuntu. com/job/ build/4879/ console /unity8- jenkins. ubuntu. com/job/ build-0- fetch/4907 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 4718/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= zesty/4718/ console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 4718/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= zesty/4718/ console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 4718/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= zesty/4718/ console
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/3678/ rebuild
https:/