Bug 476302 - Deleted files are still counted in project statistics
Summary: Deleted files are still counted in project statistics
Status: REPORTED
Alias: None
Product: lokalize
Classification: Applications
Component: project management (show other bugs)
Version: 23.08.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-29 19:34 UTC by Yaron Shahrabani
Modified: 2023-10-29 19:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaron Shahrabani 2023-10-29 19:34:48 UTC
SUMMARY
***
Sometimes it's easier for me to combine several different localization tools so then I find myself downloading POT files to the project folders and convert them to po using Poedit.
After I'm done with the translation I'm removing the POT and mo file, the statistics in Lokalize (Project overview) still count the strings for statistics although the file is not there.
***


STEPS TO REPRODUCE
1.  Create or use your project.
2. Go to the Project Overview tab.
3. Select one of the folders in your project.
4. Download some POT file into it.
5. Remove the POT file.

OBSERVED RESULT
The file still appears and the statistics show that there are some missing strings (the number of strings in the POT file).

EXPECTED RESULT
The file should disappear once removed and the statistics should be recalculated, at least for this specific folder.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11
Kernel Version: 6.5.5-1-MANJARO (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
I wish there was a manual way to reload, F5 and Ctrl+R are not working, I can restart Lokalize but that's not a good way to reload and it's very time consuming.