Version: 1.7.2 (using KDE 3.3.2, (3.1)) Compiler: gcc version 3.3.5 (Debian 1:3.3.5-6) OS: Linux (i686) release 2.6.10-20050128n Lately I received an eMail with an attached vcf-card. First I was impresed by KMail directly displaying the contact below the eMail. But the business card was very large as you can see on the attached screenshot especially the header and the contacts name are to large after my fancy. Furthermore the "user" icon looks very crispy as if it was upscaled to much... (see screenshot) cheers
Created attachment 9498 [details] screenshot
Tried to find why the image is more crispy than used inside the kaddressbook detail view. It seems the image "x-office-contact" is used within kmail inside an HTML tag giving it a width = 75 (AddresseeView::vCardAsHTML() libkdepim/addresseeview.cpp line 420), which seems to scale the much smaller icon to that size, and obviously this scaling makes it crispy. In kaddressbook, the detail view is a KTextBrowser class - and I think kmail uses KHTML to view the HTML vcard attachment. So the difference seems to be simply a different implementation of the image scaling. Maybe a solution would be to already provide a larger, smooth-scaled icon for width=75 ...
Thank you for taking the time to file a bug report. KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2. We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.