Bug 438367 - Kontact process remains in background after closing program
Summary: Kontact process remains in background after closing program
Status: REPORTED
Alias: None
Product: kontact
Classification: Applications
Component: mail (show other bugs)
Version: 5.14.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-09 21:32 UTC by jakub.kuzniar
Modified: 2021-06-09 21:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jakub.kuzniar 2021-06-09 21:32:43 UTC
SUMMARY
When I open any pdf attachment from email in okular, close the attachment and exit Kontact, I can't open the program again. It opens only after some time, around 3 minutes. Once it opens I can close it using "X" icon, only from File->Exit.

When start from terminal I see following messages:
ommand= "okular %U" args= ("okular %U", "file:///tmp/messageviewer_attachment_tnBtct/Zajęcia piątek 16.04 NUTKI.pdf")
EXEC "/usr/bin/okular /tmp/messageviewer_attachment_tnBtct/Zajęcia piątek 16.04 NUTKI.pdf"
EXEC done
sleeping for 180 seconds before deleting file...

After closing the Kontact window, process does not terminate but remain in the process list. After 3 minutes I see message:

180 seconds have passed, deleting "/tmp/messageviewer_attachment_tnBtct/Zajęcia piątek 16.04 NUTKI.pdf"
Removed empty parent directory "/tmp/messageviewer_attachment_tnBtct"


STEPS TO REPRODUCE
1. Start Kontact
2. Open pdf attachment in the email
3. Close the pdf attachment
4. Close the Kontact program
5. Start Kontact program again


OBSERVED RESULT
Fails to open again quickly, but only after 3 minutes.

EXPECTED RESULT
Should open immediately.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.6
KDE Frameworks Version:  5.71.0
Qt Version:  5.12.7 

ADDITIONAL INFORMATION