Bug 111538

Summary: HTML image display in mails contains unwanted borders
Product: [Unmaintained] kmail Reporter: Jens <jens-bugs.kde.org>
Component: messageviewerAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: normal CC: freekdekruijf, kai, martin, montel
Priority: NOR    
Version First Reported In: 1.8.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot showing the difference
email (testcase)
another example with pictures and html code.

Description Jens 2005-08-26 09:49:24 UTC
Version:           1.8.2 (using KDE 3.4.2 Level "b" , SUSE 9.3 UNSUPPORTED)
Compiler:          gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
OS:                Linux (i686) release 2.6.11.4-21.8-default

Hello,

Many HTML mails - eg. newsletters - contain a table layout of images. These images seem not to display correctly in KMail, there is a white border between images that should not be there. 

When I export the HTML email and view it in Konqueror, everything displays fine.

I'll attach one of these mails and two screenshots to show the difference.

Jens
Comment 1 Jens 2005-08-26 10:39:30 UTC
Attached:

* screenshot showing the difference
* the email in question

This bug is rather old, I was hoping it would be fixed in 3.4 but 
apparently it was not. If I can do anything to help, please tell me.
Comment 2 Jens 2005-08-26 10:44:08 UTC
Created attachment 12383 [details]
screenshot showing the difference
Comment 3 Jens 2005-08-26 10:45:08 UTC
Created attachment 12384 [details]
email (testcase)
Comment 4 Freek de Kruijf 2005-10-14 16:11:31 UTC
I have the same problem.
In general the html code is this:
<table width="652" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="652"><a href="http://some url"><img src="http://url pointing to gif" width="255" height="145" border="0"></a><a href="some url"><img src="url pointing to gif" width="193" height="145" border="0"></a><a href="some url"><img src="url pointing to gif" width="202" height="145" border="0"></a></td>
      </tr>
      <tr>
        <td width="652"><a href="some url"><img src="url pointing to gif" width="255" height="157" border="0"></a><a href="some url"><img src="url pointing to gif" width="193" height="157" border="0"></a><a href="some url"><img src="url pointing to gif" width="202" height="157" border="0"></a></td>
      </tr>
</table>

Kmail displays a white horizontal separation between the three gif's in the first <tr></tr> and the second three gif's in the second <tr></tr>. 
There is nothing wrong with the display of the three gif's. No vertical white space in between.
Comment 5 David Menday 2006-10-20 13:05:17 UTC
Created attachment 18201 [details]
another example with pictures and html code. 

This yet another example with the html cut out for easy viewing in konqueror.
It also contains two screenshots of the results.
Comment 6 Martin Koller 2009-08-30 01:05:06 UTC
I can see the difference (tested on KDE 4.3).
Comment 7 Martin Koller 2009-09-26 17:47:01 UTC
*** Bug 204860 has been marked as a duplicate of this bug. ***
Comment 8 Laurent Montel 2012-08-15 19:47:58 UTC
Still valid in 4.9 ?
Comment 9 Freek de Kruijf 2012-08-16 16:47:20 UTC
This issue has not been around for at least a year. So in my view it can be closed as fixed, but I am not the reporter.
Comment 10 Laurent Montel 2012-11-16 15:27:07 UTC
Close it