Bug 94242 - vCard display is clunky and inserts "PO BOX" in address line 2.
Summary: vCard display is clunky and inserts "PO BOX" in address line 2.
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: addressbook (show other bugs)
Version: SVN trunk (KDE 4)
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: testcase, triaged
Depends on:
Blocks:
 
Reported: 2004-12-01 23:17 UTC by jamundso
Modified: 2009-08-30 22:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing PO BOX in address of v-card (307.85 KB, image/png)
2005-04-22 18:21 UTC, jamundso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jamundso 2004-12-01 23:17:38 UTC
Version:           1.7 (using KDE KDE 3.3.0)
Installed from:    RedHat RPMs
OS:                Linux

vCard display takes up way too much window area. It seems, also that it would look better left justified, ala Thunderbird.

More importantly, if there is data in the 2nd Address line, Kmail plops "PO BOX" in front of it. This should be removed.
Comment 1 Tom Albers 2005-02-17 22:29:44 UTC
the html of the vcard comes from kaddressbook or kabc. Reassinging to that product, hope it is the right one though.
Comment 2 Tom Albers 2005-02-17 22:46:29 UTC
Ok. I discussed this with some developers and we agree that we can not reproduce this anymore. For now we close this bug. If you can reproduce this with KMail 1.8 please attach a screenshot and the message and reopen!
Comment 3 jamundso 2005-04-22 18:19:04 UTC
LOOKSTHESAMETOME :-)
Will attach screenshot. Here's the MIME text of v-card:

--------------020004090407080007040608
Content-Type: text/x-vcard; charset=utf-8;
 name="todd.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="todd.vcf"

begin:vcard
fn:Todd Armstrong
n:Armstrong;Todd
org:Publishing Business Systems;Research & Development
adr;dom:Suite 100;;2611 Hamline Ave N;St. Paul;MN;55113
email;internet:todd.armstrong@pbs.com
title:Sr. Software Engineer
tel;work:(651) 639-0662
tel;fax:(651) 639-0306
x-mozilla-html:TRUE
url:http://www.pbs.com
version:2.1
end:vcard


--------------020004090407080007040608--
Comment 4 jamundso 2005-04-22 18:20:10 UTC
Reopened.
Comment 5 jamundso 2005-04-22 18:21:57 UTC
Created attachment 10747 [details]
Screenshot showing PO BOX in address of v-card
Comment 6 Dominik Tritscher 2008-09-14 18:07:41 UTC
I just checked this with the testcase from Comment #3 using kmail from trunk r860647. The problem is still there, it puts a "Postfach" (german translation of PO Box) in front of the adress line.
Comment 7 Martin Koller 2009-08-30 22:33:15 UTC
The display of "PO BOX" is not a bug. It's the vcard which is probably wrong here.

RFC 2426 states (in the ADR field):

   Type value: A single structured text value, separated by the
   SEMI-COLON character (ASCII decimal 59).

   Type special notes: The structured type value consists of a sequence
   of address components. The component values MUST be specified in
   their corresponding position. The structured type value corresponds,
   in sequence, to the post office box; the extended address; the street
   address; the locality (e.g., city); the region (e.g., state or
   province); the postal code; the country name. When a component value
   is missing, the associated component separator MUST still be
   specified.


So clearly "Suite 100" is the post office box.