Preflight Checklist
Surf Version
1.1.0-beta1
What operating system(s) are you using?
Windows
Operating System Version
11
What arch are you using?
None
Expected Behavior
When clicking Delete in a media tab, the file should be deleted and the tab should close. This should also happen for pdfs > 8.703 KB in size.
Actual Behavior
The app crashes.
Additional Information
I've tried deleting several PDFs. It works as expected up to sizes of about 8 MB. For larger files the app crashes.
I believe this is due to how the larger files are cached? I noticed that deleting those larger files manually while the file was still open in surf failes because the file handle is still open, a windows error occurs. This does not happen for those smaller files, which can be deleted manually while open in surf. A fix could maybe be as simple as closing the tab before triggering the deletion action.
Preflight Checklist
Surf Version
1.1.0-beta1
What operating system(s) are you using?
Windows
Operating System Version
11
What arch are you using?
None
Expected Behavior
When clicking Delete in a media tab, the file should be deleted and the tab should close. This should also happen for pdfs > 8.703 KB in size.
Actual Behavior
The app crashes.
Additional Information
I've tried deleting several PDFs. It works as expected up to sizes of about 8 MB. For larger files the app crashes.
I believe this is due to how the larger files are cached? I noticed that deleting those larger files manually while the file was still open in surf failes because the file handle is still open, a windows error occurs. This does not happen for those smaller files, which can be deleted manually while open in surf. A fix could maybe be as simple as closing the tab before triggering the deletion action.