Bug 477703

Summary: weird file duplication
Product: [Applications] dolphin Reporter: thanhphathuynh98
Component: panels: foldersAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 24.01.75   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: this specific file duplicated itself to a ludicrous amount for me, taken before it started multiplying to 700k+

Description thanhphathuynh98 2023-11-29 05:39:36 UTC
Created attachment 163600 [details]
this specific file duplicated itself to a ludicrous amount for me, taken before it started multiplying to 700k+

SUMMARY
***
I was trying to move some mod files from /mods folder to another /mods folder because I wanted to try running it in starsector linux version. And it was then I used the cut option to paste it over the other /mods folder. Some files weren't pasted over because of writing permission error. I tried to copy those files over instead, then deleted the files in the original /mods folder. After realizing that running the game in exe is better for me I then tried to use cut option over again and selected all of them again to cut-paste over. Some files were saying like "do you want to overwrite these files?", and I assumed it would do fine so I clicked Overwrite to all. After all was done and dusted, the /mods folder has a bunch of missing mod files, I thought weird so I downloaded the dependancies files that my mods require to run and etracted it into /mods, it would show that they are already there and ask if I want to overwrite, I clicked yes and everything spiraled from there. Because even after overwriting those "missing" files, it's still not there so I decide to move my files out to a temp folder. And it was then that the mod file started duplicating itself to over 700k+ but not taking any space at all.
***


STEPS TO REPRODUCE ?
1.  Cut and paste mod files somewhere out then get write permission error (then copy those files out then delete the original)
2.  Cut paste it back to original path
3.  Say yes to all overwrite (still not sure what caused this part)

OBSERVED RESULT
A mod file will start duplicating to an impossible amount the more you check it (for mine it was over 700k), it will be tagged hidden and doesnt take space (later on while trying to remove it through rm -rf it lost its hidden tag)

EXPECTED RESULT
as above

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION