Bug 370522 - kaddressbook: Progress window misbehaves on consecutive vCard imports
Summary: kaddressbook: Progress window misbehaves on consecutive vCard imports
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: GIT
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-12 07:13 UTC by Helmar Gerloni
Modified: 2017-04-26 05:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmar Gerloni 2016-10-12 07:13:55 UTC
When doing multiple consecutive vCard imports the progress window misbehaves.

First seen on Debian Stretch, kaddressbook 4:16.04.3-1, reproduced on neon-devedition-gitunstable, kaddressbook 4:16.08.0+p16.04+git20161008.0936-0:



Reproducible: Always

Steps to Reproduce:
1. Start kaddressbook

2. Menu File - Import - Import vCard
  Select 20 vcf files (each containing one contact)
    Open
      Select Address Book "Personal Contacts", then OK
Normal behavior: Progress window opens, says "Importing 20 contacts to Personal Contacts", progress bar walks from 0 to 100%, then closes correctly, all 20 contacts are imported correctly.

3. Then the same again, now with 10 vcf files:
Wrong behavior: Progress window opens, says "Importing 20 contacts to Personal Contacts", progress bar stops at 47%, progress window does not close, but all 10 contacts are imported correctly. Progress window must be closed manually.

Actual Results:  
Wrong behavior: Progress window opens, says "Importing 20 contacts to Personal Contacts", progress bar stops at 47%, progress window does not close, but all 10 contacts are imported correctly. Progress window must be closed manually.

Expected Results:  
Normal behavior: Progress window opens, says "Importing 20 contacts to Personal Contacts", progress bar walks from 0 to 100%, then closes correctly, all 20 contacts are imported correctly.
Comment 1 Laurent Montel 2017-04-25 14:56:38 UTC
it works fine here.
Could you test with last version please ?
Comment 2 Helmar Gerloni 2017-04-25 16:25:00 UTC
Just tested with kaddressbook 4:17.04.0+p16.04+git20170424.2055-0:

Works as expected now, progress window shows the correct number of contacts also on the second import, bar walks to 100% and window closes.

Thanks!
Comment 3 Laurent Montel 2017-04-26 05:33:39 UTC
Ok so I can close it :)