Bug 363504

Summary: Deleting or moving the last email from the listing pane the preview the content stays in the preview pane
Product: [Applications] kmail2 Reporter: Kosmas Mackrogamvrakis <kosmas>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: minor CC: greygeek77, kdenis
Priority: NOR    
Version: 5.5.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screen capture of Kmail ghost bug

Description Kosmas Mackrogamvrakis 2016-05-25 12:43:36 UTC
When you try to delete the last email int the message list and having the preview to see the email (below for me), the contents of the email do not empty.
I tried both deleting the last email and moving it to a different folder and the results are the same.
When you change folder and get back to inbox, both list and preview are empty.

Reproducible: Always

Steps to Reproduce:
1. Delete last email from inbox
2.
3.

Actual Results:  
Email preview is still being displayed.

Expected Results:  
Email preview should be empty as it occurs after changin to another folder and back.
Comment 1 Jerry L Kreps 2016-08-23 21:46:19 UTC
I am running Kubuntu 16.04 with Neon on top.  KMail is working great except for a problem similar to the OP's.   On the last email in the input box message list, when I drag the msg title to a folder, or delete it, the message body is cleared but the message title in the message list is not.  I have to click on another folder and then click again on the input box to clear it.  No information is changed or lost, unless I deleted it.  It is as if the msg title of the msg was a ghost.
Comment 2 Denis Kurz 2017-06-25 11:49:01 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those Framework-based versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it. Please make sure to state your version of the KDE PIM suite (Help -> About <Application>).

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 3 Jerry L Kreps 2017-06-26 15:31:35 UTC
I am running KDE Neon User Edition, fully  updated.  It has Plasma 5.10 and KMail 5.5.2.   The behavior now is as follows:

1.  Read and dispose of all mail by either moving them to a folder or deleting them.
2. Delete the last unread email.  The subject line disappears but the body of the email remains visible.
3.  Click on an empty folder.  The body of the email clears.
4.  Go back to the inbox.  The subject line and the body are clear.
Comment 4 Jerry L Kreps 2017-06-26 15:33:52 UTC
Created attachment 106312 [details]
Screen capture of Kmail ghost bug

This screen grab was taken just after clicking the trash can icon.
Comment 5 Christoph Feck 2017-06-27 17:16:21 UTC
Thanks for the update; setting version.
Comment 6 Justin Zobel 2022-11-06 09:25:42 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 7 Kosmas Mackrogamvrakis 2022-11-06 09:54:18 UTC
Hello Justin,

Sorry not to have reported for so long.
It seems that in the newer versions the bug is gone.
I confirm that when you empty the trash, or delete the last mail from a folder, the mail is not displayed any more.

Kind Regards,
Kosmas.
Comment 8 Bug Janitor Service 2022-11-21 05:12:20 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 9 Bug Janitor Service 2022-12-06 05:18:52 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!