QL-Win / QL-Win/QuickLook

Lock issue for certain camera RAW files (.RAF)

Open
#1,461 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
24.7k
Forks
1.3k
Avg merge
4d 7h
Merged PRs (30d)
1

Description

Describe the bug

I use QuickLook extensively during post-processing of photos from my digital camera. My workflow is, I dump everything in my SD card to my main drive and use QuickLook to preview the files and move selected items to a different folder. For each photo two files are created - one .JPG and one .RAF (Fujifim RAW format). When I like a photo, I move these two files into the other folder almost immediately after I view them.

I frequently get the locking issue for .RAF file - "File In Use - The action can't be completed because the file is open in QuickLook"

To Reproduce
Initially I thought it's because I'm not closing each preview and instead navigating to the next file. However, after going through some of the locking issues mentioned here, I tried to reproduce the issue by opening and closing only an .RAF file and navigation is not the cause. Simply opening and closing an .RAF file and then trying to move the file one from folder to other causes this issue.

An .RAF file is approximately 50 MB. To verify if the size of the file that's causing the issue, I tried previewing large video files and closing immediately.

Tried reproducing this issue with other camera RAW file types (Sony and Nikon). Couldn't reproduce this. Couldn't test this extensively though.

Expected behavior
No locking issues for .RAF file

Desktop (please complete the following information):

  • OS Version: Windows 10 Pro 22H2
  • QuickLook Version: [e.g. 3.7.3 from winget]

Screenshots and Exception Log
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the issue. First reproduce on Windows 10 by opening and closing a Fujifilm .RAF file, then attempting to move it, and compare the behavior with JPG, video, Sony RAW, and Nikon RAW files. Done means a closed .RAF preview no longer prevents the file from being moved.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.