Satellite-im/Uplink

bug(files): UI Freezes when uploading the same file twice

Closed this issue · 3 comments

Issue: When you drag the same file to the "files" section multiple times (rapidly) the UI will have lingering dialog boxes for uploads that will never finish and this error appears in log

2024-02-20 13:21:13 | ERROR | common\src\warp_runner\manager\commands\constellation_commands.rs:449 | Error when upload file: FileExist
2024-02-20 13:21:13 | DEBUG | WARP CMD: Constellation { UploadFiles { files_path: ["C:\Users\xileh\OneDrive\Pictures\MblWpprs\D7292-Digital-Falcon-Mobile-Wallpaper-Ep-4.jpg"] } }

OS:
Windows

Screen recording:

Satellite_Meeting_02-16-2024.mp4

@phillsatellite Is easy to replicate this bug? I was not able to replicate it

i was also not able to replicate it. though with some recent changes when an error occurs now the file will have it displayed that an error occured.

Havent been able to replicate and neither has Sara. @XileHorizon was the original person to find this bug so I asked him to try to replicate again, if he cant I will close ticket 👍