Bug 80419 - Wrong positions of German zip codes in prints
Summary: Wrong positions of German zip codes in prints
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Miscellaneous
Component: printing (show other bugs)
Version: 4.1.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2004-04-26 20:02 UTC by Peter Reinhart
Modified: 2009-08-05 16:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
snapshot2.png (442.17 KB, image/png)
2006-10-08 18:01 UTC, urwald
Details
PDF printout of single test entry (12.38 KB, application/pdf)
2008-08-09 20:03 UTC, burnit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Reinhart 2004-04-26 20:02:40 UTC
Version:            (using KDE KDE 3.2.1)

In Germany, in contrast to the US and other countries, zip codes are to be in front of the city name. For example

	10259 Berlin
would be correct, while it is uncommon to write
	Berlin 10259

While, with KDE 3.2 (German), zip codes are correctly put in front of the city name on screen, the are still put behind the city name in prints.

This is, as explained above, incorrect and should be fixed ASAP.
Comment 1 Maciej Witkowiak 2005-04-10 12:29:18 UTC
Same thing in Poland. Here the correct form is "12-345 City"
Comment 2 urwald 2006-10-08 18:01:51 UTC
Created attachment 18060 [details]
snapshot2.png

Confirming on KDE 3.5.4 / openSUSE 10.1. Attaching screenshot.

Don't know if also other localisations are affected, but allmost all European
countries and many other countries have the zip code before the city and not
after. This way to display it is quite confusing for very many people...
Comment 3 Martin Steigerwald 2006-10-28 18:57:42 UTC
I can confirm this using KAddressbook from KDE 3.5.5 when printing a contact: ZIP code is placed after city name (country set to Germany), it should be before. 

I cannot confirm what Tim Fechtner reports. In the contact view the ZIP code is correctly placed before the city name. Tim, please try it again with KAddressBook from KDE 3.5.5. If the ZIP code is still displayed after the city name and your country setting is correct, please open a new bug report it, as printing a contact seems to be handled diffently from viewing it as my tests suggests. Please include a link to this bug report for reference. Thanks a lot.
Comment 4 urwald 2006-10-29 15:45:07 UTC
-> Martin Steigerwald: I've done an update, and now it works. :-)
Comment 5 burnit 2008-08-09 20:03:10 UTC
Created attachment 26757 [details]
PDF printout of single test entry

Test entry is printed with wrong order of city and ZIP code.
Comment 6 Michael Leupold 2008-09-28 18:27:56 UTC
This seems to be related to the template used for printing. I can reproduce the printing bug using "Detaillierte Ansicht" and "Mike's style". The ringbinder style however displays it in the correct order.
Comment 7 David Faure 2009-03-16 02:11:16 UTC
SVN commit 939934 by dfaure:

Fix printing to be useful for printing my wife's addressbook.

* Remove one level of headlines for addresses, to avoid:
Address:
  Work Address:
 (-> removed "Address:" and indented everything one step to the left)

* Make it possible to disable headlines ("Telephones:", "Work Address:") altogether (not useful IMHO).
Left it on by default though, TODO: checkbox and fix indentation when off.

* Use formattedAddress() instead of composing the address line by line which broke internationalization
BUG: 80419


 M  +5 -0      detailledstyle.cpp  
 M  +88 -129   kabentrypainter.cpp  
 M  +2 -0      kabentrypainter.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=939934
Comment 8 Tobias Koenig 2009-08-05 16:08:08 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.