Bug 398054 - Attached HTML files are managed as "body part"
Summary: Attached HTML files are managed as "body part"
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.9.0
Platform: Debian testing Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-08-30 08:06 UTC by gianogli
Modified: 2022-12-31 05:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Issue with a not too big HTML file (82.11 KB, image/png)
2018-08-30 08:06 UTC, gianogli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gianogli 2018-08-30 08:06:01 UTC
Created attachment 114694 [details]
Issue with a not too big HTML file

When I receive an e-mail with a big (> 4MB) HTML file attached, kmail take a long time to show the preview of the message (in HTML format) because it wrongly manage the attached file as a "body part".

With this kind of e-mail if I try to click on the "HTML side bar" to switch to the "plain massage" format it doesn't works and remain in the "html message" format.

I think that the problem is due to the way that kmail manages the HTML files attached to an e-mail: kmail considers this files as a body part of the e-mail and it tries to preview them instead of show only the file name at the end of the body text (as it happens, in instance for a zip file).

There is a way to consider an HTML attached file as a normal file and then disable its preview?
If not, could you change this behavior?

If I click on an e-mail with a very big HTML attachment kmail became unresponsive for a long period: for this reason I set the severity of this bug to "major". 

Thanks...
Comment 1 Laurent Montel 2018-08-30 08:45:38 UTC
5.7.3 is very old we released 5.9.0 one month ago.
Could you verify with new version please ?
Comment 2 gianogli 2018-08-30 11:34:43 UTC
(In reply to Laurent Montel from comment #1)
> 5.7.3 is very old we released 5.9.0 one month ago.
> Could you verify with new version please ?

Unfortunately, on Debian (testing), is available only this (5.7.3) version. I could try with a live (and more updates) distro but I need free time to test it...

If you are using the last version, could you verify if the behavior with the attached HTML files is the same?

Thanks...
Comment 3 Laurent Montel 2018-08-31 06:51:58 UTC
it's a png image :) not a html file :)
Comment 4 gianogli 2018-08-31 07:41:56 UTC
(In reply to Laurent Montel from comment #3)
> it's a png image :) not a html file :)

What? My attachment?
Yes, is a png image but show what happen when I receive  an e-mail with an HTML file attached...

By any chance do you know which linux (live) distro have already the last version of kmail?

Thanks...
Comment 5 gianogli 2018-09-10 10:09:37 UTC
I've just tried kmail 5.9.1 (on Neon) and I can confirm the issue.
When I receive an e-mail with a big (~8MB) HTML file attached I'm not able to view the content of the e-mail (the "message preview pane" is stuck on the previous e-mail shown).
When I receive instead an e-mail with a not so big (~2MB) HTML file attached I've to wait some seconds to view the content of the e-mail.

I think that the issue is due to the fact that kmail "wrongly" manage the HTML attached file as a "body part" (by trying to parse/open it) and not as a canonical attached file (that should be opened by an external program).

What do you think?
Comment 6 Andrew Crouthamel 2018-09-28 03:08:04 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 gianogli 2018-09-28 11:43:53 UTC
@Laurent: I've this issue also with the last 5.9.x versione I tested by using a Neon iso.

Do you need other information?

Thanks... ;-)
Comment 8 Justin Zobel 2022-12-01 04:34:28 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 9 Bug Janitor Service 2022-12-16 05:13:36 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2022-12-31 05:23:45 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!