Bug 78071 - Addressbook lost while typing email address
Summary: Addressbook lost while typing email address
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Miscellaneous
Component: general (show other bugs)
Version: 3.2.1
Platform: Gentoo Packages Linux
: NOR grave
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-20 16:10 UTC by Malte S. Stretz
Modified: 2009-08-05 16:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of KAddressbook in good state (55.15 KB, image/png)
2004-03-20 16:12 UTC, Malte S. Stretz
Details
screenshot of KAddressbook with broken addresslist (52.13 KB, image/png)
2004-03-20 16:12 UTC, Malte S. Stretz
Details
the debug output (16.25 KB, text/plain)
2004-03-20 16:13 UTC, Malte S. Stretz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2004-03-20 16:10:28 UTC
Version:           3.2.1 (using KDE 3.2.1, Gentoo)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:          Linux (i686) release 2.4.20-gentoo-r8

This seems to be caused by some race condition; I can reproduce it but not always. It seems to depend on how fast I type.

To reproduce it I've got to do something like this:
1. Choose a contact from my addressbook for whom I haven't entered the email address.
2. Select the email input field in the extension bar Contact Editor.
3. *Fastly* type his address. The contact list will flicker heavily while doing so. At some random point suddenly all other contacts will disappear and only the modified contact remains in the list.

Judging from the dbug output it looks like the addressbook is saved with *every* keystroke. For every stroke I get an:
| kabc: stale temp file dedected /tmp/kde-mss/kaddressbookZHmrsb.tmp
| kabc: No distlists for 'v3TCONdB42'
| QImage::scaleWidth: Image is a null image
| QImage::convertDepth: Image is a null image
| QImage::convertDepth: Image is a null image
| QImage::scaleWidth: Image is a null image
| QImage::convertDepth: Image is a null image
| QImage::convertDepth: Image is a null image
| kabc: AddressBook::requestSaveTicket()
| kabc: ResourceFile::requestSaveTicket()
| kabc: Lock::lock()
| kabc: -- lock name: /home/mss/.kdecvs/share/apps/kabc/lock/_home_mss_.kdecvs_share_apps_kabc_std.vcf.lock
| kabc: -- lock unique name: /home/mss/.kdecvs/share/apps/kabc/lock/_home_mss_.kdecvs_share_apps_kabc_std.vcfTkKadxUd
| kabc: AddressBook::save()
| kabc: ResourceFile::save()
| kabc: stale temp file dedected /tmp/kde-mss/kaddressbookJSLhga.tmp
| kabc: No distlists for 'v3TCONdB42'


I'll attach the rest of the debug output and some screenshots.
Comment 1 Malte S. Stretz 2004-03-20 16:11:09 UTC
Changing to "grave".
Comment 2 Malte S. Stretz 2004-03-20 16:12:08 UTC
Created attachment 5298 [details]
screenshot of KAddressbook in good state
Comment 3 Malte S. Stretz 2004-03-20 16:12:56 UTC
Created attachment 5299 [details]
screenshot of KAddressbook with broken addresslist
Comment 4 Malte S. Stretz 2004-03-20 16:13:35 UTC
Created attachment 5300 [details]
the debug output
Comment 5 Tobias Koenig 2004-03-28 17:49:23 UTC
Hi,

this is fixed in CVS HEAD

Ciao,
Tobias
Comment 6 Malte S. Stretz 2004-03-28 18:01:29 UTC
Sorry, but *please* backport this to the BRANCH. I loose my addressbook every few days because of this.
Comment 7 Malte S. Stretz 2004-03-29 00:43:50 UTC
I just saw coolo's mail about KDE 3.2.2 on core-devel and I think this should really be fixed/backported for that release. I checked current BRANCH, it's still there.

Thanks,
Malte
Comment 8 Ron Onstenk 2004-04-15 20:43:20 UTC
Useless to ask, They are deaf
Just update to 3.2.1 regarding the kmail bug in 3.2.0
Had a addressbook and now it's gone.
Bug fixes should always backported.
Next time my desktop is gone but fixed in CVS?
just the last one I can use, instable and no guaranty it even compiles.
Typical developer mind.
Comment 9 Helge Hielscher 2004-04-20 17:47:13 UTC
I agree this is severe and makes kaddressbook (and thus kontact) of KDE 3.2.x unusable.
BTW this bug sound like a dup of bug 74850
Comment 10 Malte S. Stretz 2004-05-31 14:09:28 UTC
As 3.2.3, the last 3.2.x release, was tagged this weekend, this bug won't be fixed until 3.3 :-( I anyway upgraded to kdepim-HEAD in between...
Comment 11 Felix Kurth 2004-05-31 22:24:48 UTC
This is realy bad. Lost my addressbook several times. Working on contacts in
kontact is nearly impossible.
Is there no way to get this in 3.2.* ?
Comment 12 Tobias Koenig 2009-08-05 16:07:01 UTC
The development of the old KAddressBook will be discontinued for KDE 4.4.
Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.