>From a quick look the problem is most likely caused by Scope::settings()
getter, which calls update_child_scopes() every time settings model is
accessed by the getter, and this involves IPC with
m_scopeProxy->child_scopes() call, which is a blocking call.
** Changed in: unity-scopes-shell (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-shell in
Ubuntu.
https://bugs.launchpad.net/bugs/1567429
Title:
Scope::settings() is too slow
Status in unity-scopes-shell package in Ubuntu:
Confirmed
Bug description:
Evaluating
settingsEnabled: scopeView.scope && scopeView.scope.settings &&
scopeView.scope.settings.count > 0 || false
in GenericScopeView.qml takes around 300 ms when running on the phone,
which basically feels like an eternity if you're trying to use the
phone to scroll, change to another scope, etc
If this needs heavy calculation this should be either pre-calculated
and cached or calculated in a separate thread and then signalled with
a signal.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-shell/+bug/1567429/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp