Contact engine reset causes the ui to freeze for about 10 secs

Bug #1497381 reported by Renato Araujo Oliveira Filho
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Bill Filler
qtpim-opensource-src (Ubuntu)
Fix Released
Undecided
Timo Jyrinki

Bug Description

During a reset signal from contact engine, the QContactsModel freezes for about 10s reloading all contacts.

HOW TO TEST
===========

1 - Make sure that you have about 1000 contacts on your list;
2 - Open Address book app
3 - Switch to a different app (make address book app go to sleep mode)
4 - Stop address-book-service
5 - Start address-book-service
6 - Wait about 5 secs
7 - Go back to address-book-app

Expected
========
Address book appear and is ready to use

Current
=======
Address book appears but in a freeze state and take a while to accept user interaction

Tags: patch
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix model reload after a engine reset." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Please test from https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-009 and do the needed manual tests.

Also if possible, include a clearer test case when the problem is seen so that QA can easily verify the fix.

description: updated
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
milestone: none → ww40-2015
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Landed in stable overlay:

qtpim-opensource-src (5.0~git20140515~29475884-0ubuntu11) vivid; urgency=medium

  [ Renato Filho ]
  * debian/patches/clean_update_after_engine_reset.patch
    - Fix 10 sec UI freeze when resetting contact engine (LP: #1497381)

 -- Timo Jyrinki <email address hidden> Mon, 21 Sep 2015 06:33:10 +0000

Changed in qtpim-opensource-src (Ubuntu):
assignee: nobody → Timo Jyrinki (timo-jyrinki)
Revision history for this message
Iain Lane (laney) wrote :

I am reviewing this in the wily queue. It looks fine but please make sure it is forwarded upstream so we don't have to maintain it forever and so that others can benefit.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

I have asked Renato to commit it to upstream (he's a developer there), but so far it's not yet there: https://codereview.qt-project.org/#/q/project:qt/qtpim,n,z

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

The upstream project has update the C++ API the patch will need to be very different. I still need to find some time to create a new patch that fits on the new API.

Bill Filler (bfiller)
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtpim-opensource-src - 5.0~git20140515~29475884-0ubuntu13

---------------
qtpim-opensource-src (5.0~git20140515~29475884-0ubuntu13) wily; urgency=medium

  [ Renato Filho ]
  * debian/patches/clean_update_after_engine_reset.patch
    - Fix 10 sec UI freeze when resetting contact engine (LP: #1497381)

 -- Timo Jyrinki <email address hidden> Mon, 21 Sep 2015 06:42:14 +0000

Changed in qtpim-opensource-src (Ubuntu):
status: New → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.