darktable-org / darktable-org/darktable

Invalid directory separator on Windows

Open
#20,209 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

no-issue-activity priority: low scope: DAM
Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is there an existing issue for this?
  • I checked and did not find my issue in the already reported ones
Describe the bug

I have moved a folder arranged as Year/Month/Day between to drives, using a tool outside of darktable.

When I use "update path to files" to reattach my files the folder structure gets the wrong directory separator.

Image
Steps to reproduce
  1. Moved a folder using a tool outside of darktable.
    2 Use "update path to files".
Expected behavior

The same separator character in the whole path.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.4.0

What OS are you using?

Windows

What is the version of your OS?

Windows 11

Describe your system

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Intel Iris

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Contributor guide

Open the contributing guide

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

Reproduce the issue on Windows 11 by moving a Year/Month/Day folder between drives, then using darktable’s “update path to files” workflow. Trace the path handling involved in that workflow and verify that the resulting path uses one consistent separator throughout.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.