Bug 439680

Summary: Signature border issue
Product: [Applications] kmail2 Reporter: vortukstv
Component: miscAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: alexandre, lentemarton, vortukstv
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: My signature displayed in Firefox
My signature displayed in the Signature Editor
My signature displayed in the Mail Compositor
Signature source code
My signature displayed in the sent folder or as received by others
Source code of the email as sent by KMail

Description vortukstv 2021-07-09 12:58:57 UTC
SUMMARY

I'm using ArchLinux and I'm using version 21.04.2-1
The issue is that I'm using HTML border in signature.
I've tried to configure borders to have size=0 and I've configured it through the UI. Problem is that, after receiving the message at the other end(or even in the KMail Inbox) the borders have size bigger than 0.

STEPS TO REPRODUCE
1. Create signature with borders size = 0. Can be simple 2x2.
2. Fill the table with any data.
3. Send it to anyone

OBSERVED RESULT
Borders have different size then they should.
The border-size is greater than 0.
Tested on Office365, GMail. Same result is on GNOME Evolution.

EXPECTED RESULT
Borders size are 0 as set.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ArchLinux Kernel 5.12.14-arch1-1
KDE Plasma Version: KDE Plasma 5.22.3-1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
None
Comment 1 Márton Lente 2023-04-08 09:33:49 UTC
Hello,

I can confirm the above bug still is present in KMail 5.22.3 on KDE Plasma 5.27.3, running on openSUSE Tumbleweed 20230403.

When I 'copy-paste' standard HTML email signature content into an idientity's Signature settings panel, the signature looks as expected, but borders are applied to it when using it within an email.

The HTML email signature file is architected accordingly to email signature development best practices and standards, and works as expected in desktop email clients like Evolution, Outlook Desktop, Thunderbird etc., or online email clients like Gmail, Outlook Web App etc., with little rendering variations.

KWallet shouldn't add borders to HTML email signatures, and should render signaures in a more standardized way (similarily to other email clients). 

Best,
Márton Lente
Comment 2 Alexandre ZANNI 2023-06-14 14:13:30 UTC
Created attachment 159649 [details]
My signature displayed in Firefox
Comment 3 Alexandre ZANNI 2023-06-14 14:17:47 UTC
Created attachment 159650 [details]
My signature displayed in the Signature Editor
Comment 4 Alexandre ZANNI 2023-06-14 14:19:20 UTC
Created attachment 159651 [details]
My signature displayed in the Mail Compositor
Comment 5 Alexandre ZANNI 2023-06-14 14:22:36 UTC
Created attachment 159652 [details]
Signature source code

All borders are none or zero
Comment 6 Alexandre ZANNI 2023-06-14 14:27:01 UTC
Created attachment 159653 [details]
My signature displayed in the sent folder or as received by others
Comment 7 Alexandre ZANNI 2023-06-14 14:33:27 UTC
Created attachment 159654 [details]
Source code of the email as sent by KMail
Comment 8 Alexandre ZANNI 2023-06-14 14:37:04 UTC
I have been having the issue for a long time.
I currently have KMail Version 5.23.2 (23.04.2) on ArchLinux, KDE Frameworks Version 5.106.0, Qt Version 5.15.9 (built against 5.15.9).

My signature displayed in Firefox
https://bugs.kde.org/attachment.cgi?id=159649

My signature displayed in the Signature Editor
https://bugsfiles.kde.org/attachment.cgi?id=159650

My signature displayed in the Mail Compositor
https://bugsfiles.kde.org/attachment.cgi?id=159651

Signature source code
https://bugsfiles.kde.org/attachment.cgi?id=159652

My signature displayed in the sent folder or as received by others
https://bugs.kde.org/attachment.cgi?id=159653

Source code of the email as sent by KMail
https://bugsfiles.kde.org/attachment.cgi?id=159654

It seems that Kmail totally modify the inline style of the signature instead of letting it untouched.