Copied pdf cannot be deleted as it's open in Files
Description
When you make a copy of a pdf file then try to delete the copy, it says it's currently in use by Files.
Steps To Reproduce
- Copy some pdf files into a new (temporary) directory
- Attempt to delete the directory
- Any pdf files are shown as 'in use' by Files
Requirements
It should be possible to delete pdf files which aren't open.
Files Version
3.2.0.0
Windows Version
10.0.22631
Log File
I'm not permitted to as the device contains confidential items. But the issue happens every time with any .pdf file.
The only way to get around this is to use Task Manager to locate and kill off the Files.app.server process, then restart it.
Are the PDFs open in the preview pane?
No, they have simply been copied but somehow that is causing them to be seen as open in files. The last time I tried it, I copied 15 files including 3 pdfs. All other files could be deleted from the new folder, except the pdf files.
I guess I should also point out this has only started happening since I upgraded to the latest version of Files. Before that there was no problem.
Is there anything in the log file?
Nope
From: Yair @.> Sent: Thursday, February 15, 2024 4:00:40 PM To: files-community/Files @.> Cc: swoodvitsoe @.>; Author @.> Subject: Re: [files-community/Files] Copied pdf cannot be deleted as it's open in Files (Issue #14734)
Is there anything in the log file?
— Reply to this email directly, view it on GitHubhttps://github.com/files-community/Files/issues/14734#issuecomment-1946399539, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6OTIBFPWKLHI2OYNAVG423YTYWKRAVCNFSM6AAAAABDKLWFIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBWGM4TSNJTHE. You are receiving this because you authored the thread.Message ID: @.***>
Is this specific to pdf files?
I've only seen it with pdf files, yes
From: Yair @.> Sent: Thursday, February 15, 2024 4:18:31 PM To: files-community/Files @.> Cc: swoodvitsoe @.>; Author @.> Subject: Re: [files-community/Files] Copied pdf cannot be deleted as it's open in Files (Issue #14734)
Is this specific to pdf files?
— Reply to this email directly, view it on GitHubhttps://github.com/files-community/Files/issues/14734#issuecomment-1946461214, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6OTIBBGLGD7GM4MXTG63FTYTYYNPAVCNFSM6AAAAABDKLWFIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBWGQ3DCMRRGQ. You are receiving this because you authored the thread.Message ID: @.***>
Which PDF application do you have on your device?
@swoodvitsoe fyi