Bug 215063 - Problem displaying contacts imported from .vcf files
Summary: Problem displaying contacts imported from .vcf files
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-18 02:30 UTC by Angelos Skembris
Modified: 2009-11-19 02:57 UTC (History)
1 user (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 Angelos Skembris 2009-11-18 02:30:06 UTC
Version:           4.3 (using 4.3.1 (KDE 4.3.1) "release 6", openSUSE 11.2)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.31.5-0.1-desktop

I tried to import my contacts from my mobile phone. The phone sent the whole addressbook via Bluetooth to the PC as a single .vcf file. When I import it into KAddressbook, the 'Contacts' panel (on the left hand side of the program window, immediately below the search bar) does not display the contact names. The lines with the names can be selected, but the font color appears to be the same as the background color. I know the data has been imported, because if I select a line, the contact information (i.e. its details) is shown in the right hand side (in visible text). I can also search and edit the contacts just fine, it's just the display panel with the names that seems to have the problem. Also, the email addresses of the contacts (those that have one) are displayed normally - only the contact names are invisible. 

I have tried changing the background picture and the display options from VIEW -> Modify view, with no result. Neither the background picture is displayed, nor the alternate lines (if ticked). I tried changing the color theme, but the problem persists. Also, if I manually create a new contact, the name is displayed normally (I can read it the same as the rest of the visible text). Only the imported contacts seem to suffer from this. Importing each contact from a single file makes no difference, the name is still unreadable.
Comment 1 Tobias Koenig 2009-11-18 14:13:40 UTC
Hej,

I guess your mobile phone didn't export the formatted name of the contacts
to the vCard file (is there any line starting with 'FN:' inside the file?).
As KAddressBook uses the formatted name in the list view, it will show only
empty entries in this case.

In KAddressBook in KDE 4.4 this issue will be fixed.

Ciao,
Tobias
Comment 2 Angelos Skembris 2009-11-19 02:57:33 UTC
You are right, all names in the file begin with 'N;'

I edited the .vcf file and changed all lines beginning with 'N;' with 'FN;' and now the names are displayed just fine!

Thanks!