Bug 431176 - Message body not rendering
Summary: Message body not rendering
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 5.15.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-05 10:57 UTC by Viktor Barzin
Modified: 2021-02-01 19:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of empty message body (7.84 KB, image/png)
2021-01-05 10:57 UTC, Viktor Barzin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Barzin 2021-01-05 10:57:29 UTC
Created attachment 134570 [details]
Screenshot of empty message body

SUMMARY
Message body is not rendering - neither as plain text nor as html. Any non-text content such as images or colors do render but any text content is missing. This applies only to message body. Message list and other parts of kmail work just fine. 

STEPS TO REPRODUCE
1. Open kmail
2. Open message
3. Message body not rendering

OBSERVED RESULT
Message body not rendering

EXPECTED RESULT
Message body rendering

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora Rawhide
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Laurent Montel 2021-01-05 11:43:14 UTC
Hi,
Could you send me as mbox your mail (you can send me in private email)
Regards
Comment 2 Viktor Barzin 2021-01-06 10:04:17 UTC
Hi Laurent,

Thanks for getting back to me! 
I'm not quite sure how to do that (kmail n00b here). I'm not quite comfortable exporting all the kmail data. Can you please share what setting you are looking for? 

Another example of the issue - the email I received from your comment is completely empty. Here is the email source - https://privatebin.viktorbarzin.me/?dc3cbdf24f6560d2#3g6Tbfky3vRmnaEZB89DXMWGCpxsvhVNZjYtCXnU1AV7

Kind regards
Comment 3 Laurent Montel 2021-01-06 12:25:59 UTC
(In reply to Viktor Barzin from comment #2)
> Hi Laurent,
> 
> Thanks for getting back to me! 
> I'm not quite sure how to do that (kmail n00b here). I'm not quite
> comfortable exporting all the kmail data. Can you please share what setting
> you are looking for? 
> 
> Another example of the issue - the email I received from your comment is
> completely empty. Here is the email source -
> https://privatebin.viktorbarzin.me/
> ?dc3cbdf24f6560d2#3g6Tbfky3vRmnaEZB89DXMWGCpxsvhVNZjYtCXnU1AV7
> 
> Kind regards

Works fine here.
For the it's a theme bug.
Could you change your colors ?
configure->colors->"use custom color" or disable it if it's activated.
For me the problem is not rendering is a color problem.

Regards
Comment 4 Viktor Barzin 2021-01-06 14:06:15 UTC
(In reply to Laurent Montel from comment #3)
> (In reply to Viktor Barzin from comment #2)
> > Hi Laurent,
> > 
> > Thanks for getting back to me! 
> > I'm not quite sure how to do that (kmail n00b here). I'm not quite
> > comfortable exporting all the kmail data. Can you please share what setting
> > you are looking for? 
> > 
> > Another example of the issue - the email I received from your comment is
> > completely empty. Here is the email source -
> > https://privatebin.viktorbarzin.me/
> > ?dc3cbdf24f6560d2#3g6Tbfky3vRmnaEZB89DXMWGCpxsvhVNZjYtCXnU1AV7
> > 
> > Kind regards
> 
> Works fine here.
> For the it's a theme bug.
> Could you change your colors ?
> configure->colors->"use custom color" or disable it if it's activated.
> For me the problem is not rendering is a color problem.
> 
> Regards

It does seem like a theme/UI issue but I tried changing both kmail's colors and system theme/appearance settings but nothing seems to help (restarted both kmail and plasma).

The message preview (as well as opening a message in a new window) is empty - I cannot select any text whatsoever.

I also tried removing/reinstalling the themes but the issue persists.

Any other ideas?

Kind regards
Comment 5 Viktor Barzin 2021-01-06 14:09:47 UTC
Images and emojis do render hinting it might be a fonts error. Changing message fonts does not fix the issue unfortunately :/ 

My guess is that I'm having an issue with the message rendered component. Any hints how to debug that?

Thanks
Comment 6 Viktor Barzin 2021-01-10 18:33:09 UTC
UPDATE: I believe the issue is related to `kf5-webengineviewer` library.
I am experiencing the same non-rendering behaviour in other apps that do some "rendering" of messages - akregator
Comment 7 Viktor Barzin 2021-01-10 18:34:37 UTC
I also built kmail from source (including all dependencies) and the issue persists.
Comment 8 Viktor Barzin 2021-01-25 21:00:36 UTC
Updating to the following versions fixed the issue:
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 9 Christoph Feck 2021-02-01 19:26:31 UTC
Thanks for the update; changing status.