Files icon indicating copy to clipboard operation
Files copied to clipboard

Copied pdf cannot be deleted as it's open in Files

Open swoodvitsoe opened this issue 1 year ago • 9 comments

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

  1. Copy some pdf files into a new (temporary) directory
  2. Attempt to delete the directory
  3. 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.

swoodvitsoe avatar Feb 15 '24 14:02 swoodvitsoe

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.

swoodvitsoe avatar Feb 15 '24 14:02 swoodvitsoe

Are the PDFs open in the preview pane?

yaira2 avatar Feb 15 '24 15:02 yaira2

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.

swoodvitsoe avatar Feb 15 '24 15:02 swoodvitsoe

Is there anything in the log file?

yaira2 avatar Feb 15 '24 16:02 yaira2

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: @.***>

swoodvitsoe avatar Feb 15 '24 16:02 swoodvitsoe

Is this specific to pdf files?

yaira2 avatar Feb 15 '24 16:02 yaira2

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: @.***>

swoodvitsoe avatar Feb 15 '24 18:02 swoodvitsoe

Which PDF application do you have on your device?

yaira2 avatar Jun 04 '24 20:06 yaira2

@swoodvitsoe fyi

yaira2 avatar Jun 24 '24 02:06 yaira2