darktable-org / darktable-org/darktable

5.0.1 - Windows darktable.exe <folder path> does not import folder

Open
#18,714 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

no-issue-activity scope: windows support
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

When importing a folder path from the command line, it doesn't import the folder. Darktable runs as if opened normally.

  • Recursive is enabled in Import UI window
Steps to reproduce
  1. C:\Program Files\darktable\bin> .\darktable.exe "G:\path\to\folder"
  2. Enter
Expected behavior

Should be the same as on Mac and Linux

Logfile | Screenshot | Screencast
C:\Program Files\darktable\bin>darktable.exe --version
darktable 5.0.1
Copyright (C) 2012-2025 Johannes Hanika and other contributors.

Compile options:
  Bit depth              -> 64 bit
  Debug                  -> DISABLED
  SSE2 optimizations     -> ENABLED
  OpenMP                 -> ENABLED
  OpenCL                 -> ENABLED
  Lua                    -> ENABLED  - API version 9.4.0
  Colord                 -> DISABLED
  gPhoto2                -> ENABLED
  GMIC                   -> ENABLED  - Compressed LUTs are supported
  GraphicsMagick         -> ENABLED
  ImageMagick            -> DISABLED
  libavif                -> ENABLED
  libheif                -> ENABLED
  libjxl                 -> ENABLED
  LibRaw                 -> ENABLED  - Version 0.22.0-Devel202403
  OpenJPEG               -> ENABLED
  OpenEXR                -> ENABLED
  WebP                   -> ENABLED
Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

darktable 5.0.1

What OS are you using?

Windows

What is the version of your OS?

Windows 11 Home

Describe your system
------------------
System Information
------------------

         Operating System: Windows 11 Home 64-bit (10.0, Build 26100) (26100.ge_release.240331-1435)
                 Language: English (Regional Setting: English)
                Processor: AMD Ryzen 7 7700 8-Core Processor               (16 CPUs), ~3.8GHz
                   Memory: 32768MB RAM
      Available OS Memory: 31850MB RAM


---------------
Display Devices
---------------
           Card name: AMD Radeon(TM) Graphics
        Manufacturer: Advanced Micro Devices, Inc.
           Chip type: AMD Radeon Graphics Processor (0x164E)
            DAC type: Internal DAC(400MHz)
      Display Memory: 16384 MB
    Dedicated Memory: 459 MB
       Shared Memory: 15924 MB
        Current Mode: 2880 x 1800 (32 bit) (100Hz)
      Driver Version: 32.0.13018.6
 
Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

No response

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

Start by reproducing the Windows 11 behavior with darktable 5.0.1 using the command shown, and compare it with folder imports on macOS or Linux. Trace the command-line folder-import entry point and identify why Windows opens normally instead; done means the supplied folder is imported recursively on Windows as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.