Bug 497232

Summary: Temp files created systematically and not deleted
Product: [Applications] kmymoney Reporter: Philippe Debrabant <pdebrabant>
Component: fileAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version: 5.1.3   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: 3 save actions result

Description Philippe Debrabant 2024-12-09 10:38:32 UTC
Created attachment 176457 [details]
3 save actions result

SUMMARY
A temp file is created on save action in my kmymoney file's folder. This file is never deleted, so I can see many files after several days of use and I must delete them manually.

STEPS TO REPRODUCE
1. Start KMyMoney
2. Add an operation
3. Save the file
4. Close KMyMoney

OBSERVED RESULT
A temp file (".xdp-qt_temp.FMSAAm-J9EHdY" for example) created on the save action. Closing KMyMoney didn't remove the temp file.

EXPECTED RESULT
No temp file when I close the application.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Mint 21.3 Cinnamon
KDE Plasma Version:  5:18ubuntu1
KDE Frameworks Version: 5.116.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2024-12-10 07:06:55 UTC
What is the URL to open your data file? Is the location of your data file on a network drive?
Comment 2 Philippe Debrabant 2024-12-10 10:15:23 UTC
Hi Thomas,

The file is located on a network drive, in a share on my NAS.

Best regards,

Philippe

Le 10/12/2024 à 08:06, Thomas Baumgart a écrit :
> https://bugs.kde.org/show_bug.cgi?id=497232
>
> Thomas Baumgart <tbaumgart@kde.org> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|REPORTED                    |NEEDSINFO
>           Resolution|---                         |WAITINGFORINFO
>
> --- Comment #1 from Thomas Baumgart <tbaumgart@kde.org> ---
> What is the URL to open your data file? Is the location of your data file on a
> network drive?
>
Comment 3 Thomas Baumgart 2024-12-10 13:10:51 UTC
Thanks for the feedback. Please consider to clean out your email before you reply because it really destroys the content on the bugtracker. See https://bugs.kde.org/show_bug.cgi?id=497232#c2 for yourself.

In case of a network share, I think I know where the problem is. We'll certainly fix it in the 5.2 release.
Comment 4 Philippe Debrabant 2024-12-10 13:26:00 UTC
Ok, thank you.

Le 10/12/2024 à 14:10, Thomas Baumgart a écrit :
> https://bugs.kde.org/show_bug.cgi?id=497232
>
> Thomas Baumgart <tbaumgart@kde.org> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>           Resolution|WAITINGFORINFO              |---
>               Status|NEEDSINFO                   |REPORTED
>
> --- Comment #3 from Thomas Baumgart <tbaumgart@kde.org> ---
> Thanks for the feedback. Please consider to clean out your email before you
> reply because it really destroys the content on the bugtracker. See
> https://bugs.kde.org/show_bug.cgi?id=497232#c2 for yourself.
>
> In case of a network share, I think I know where the problem is. We'll
> certainly fix it in the 5.2 release.
>