Bug 74850 - dataloss while changing umlauts that are encoded wrong
Summary: dataloss while changing umlauts that are encoded wrong
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 17:27 UTC by Helge Hielscher
Modified: 2009-08-05 16:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
example of dataloss with testcase (672.56 KB, application/x-shockwave-flash)
2004-02-16 16:02 UTC, Helge Hielscher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helge Hielscher 2004-02-10 17:27:33 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Mandrake RPMs

how to reproduce:
1. import testcase.ldif (sent via PM)
2. open the Contact Editor extension
3. correct some entries like M$C3$BCller to Müller

result: sometimes the contact list gets empty, only the card one edits is shown, undo does not bring the list back

sorry, but I could not trigger the bug down further
I edited with the mouse and the keys Home,End,Left,Right and marking with Shift+End or deleting with backspace

looks like this output on the konsole may be related:
QDate::fromString: Parameter out of range
QComboBox::setCurrentItem: (unnamed) Index 3 out of range
QDate::fromString: Parameter out of range
QComboBox::setCurrentItem: (unnamed) Index 3 out of range
QDate::fromString: Parameter out of range
QComboBox::setCurrentItem: (unnamed) Index 3 out of range
QDate::fromString: Parameter out of range
QComboBox::setCurrentItem: (unnamed) Index 3 out of range
Comment 1 Tobias Koenig 2004-02-14 23:59:56 UTC
Hi,

I'm able to rename all contacts with missing umlaute without data loose here.
Do you have other programms running at the same time which uses data from
KAddressBook (KMail, KOrganizer, KickPim)?

Ciao,
Tobias
Comment 2 Helge Hielscher 2004-02-15 01:53:55 UTC
No, unfortunately, I am not running any other KPim Programms. I am still able to reproduce the bug (running kdepim-kaddressbook-3.2-10mdk), though it doesnt happen every time. Most of the time I select some of the wrong umlauts, then hit return, backspace, enter the new value and hit enter.

Running kaddressbook as a different user does not help. At sunday, I am going to try to narrow down the testcase, but I am not sure that it will be successful.
Comment 3 Helge Hielscher 2004-02-15 16:08:27 UTC
Ok, now I am able to trigger the bug more often. This is what I have done:
1. deleted all contacts
2. imported testcase
3. sorted by given name
4. changed the Names in the folowing way (using the contact editor extension):
4a. click on a contact in a contact list (e.g. J$C3$B6rg Brauns)
4b. click before the mess starts
4c. hit "End"
4d. delete everything except the "J"
4e. enter the corrected name
4f. press Return

That worked sometimes, but not always. But there is a high chance to see the bug if you change multiple entries like the one described above.

If you are still unable to see the bug on your system: is there some kind of a macro recorder that I may use, so that you can see what (and how) I did when I triggered the bug?
Comment 4 Helge Hielscher 2004-02-16 16:02:52 UTC
Created attachment 4728 [details]
example of dataloss with testcase
Comment 5 Helge Hielscher 2004-02-16 16:10:30 UTC
the example above (created with vnc2swf) was created the following way:
1. deleted all contacs
2. imported testcase
3. selected the contact "Karl Heinz Nie"
4. marked the string behind "Nie" with the mouse
5. overwrote it with "ßler"

note: this way the bug happens often, but not every time
Comment 6 Tobias Koenig 2004-02-26 12:55:11 UTC
*** Bug 76163 has been marked as a duplicate of this bug. ***
Comment 7 Tobias Koenig 2004-03-05 08:55:38 UTC
*** Bug 76781 has been marked as a duplicate of this bug. ***
Comment 8 Tobias Koenig 2004-03-29 10:39:50 UTC
Hi,

this is fixed in CVS HEAD now.

Ciao,
Tobias
Comment 9 Tobias Koenig 2009-08-05 16:04:59 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.