Bug 98917

Summary: "User" icon for attached VCF-Cards appears crispy
Product: [Applications] kmail Reporter: Daniel H. Peger <peger>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kollix
Priority: NOR    
Version: 1.7.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot

Description Daniel H. Peger 2005-02-09 11:19:18 UTC
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
Comment 1 Daniel H. Peger 2005-02-09 11:20:00 UTC
Created attachment 9498 [details]
screenshot
Comment 2 Martin Koller 2009-07-30 23:17:59 UTC
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 ...
Comment 3 Laurent Montel 2015-04-12 10:04:43 UTC
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.