#22417·darktable

Compiling without Lua support should not result in a persistent console window in Windows

Author: ThanatomanicCreated Sep 27, 2026Updated Sep 27, 2026

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

Recent changes (i.e. https://github.com/darktable-org/darktable/pull/22070) cause a permanent console window to show on certain Windows editions. If I understand correctly (e.g. from discussion in #17193), this is only needed to be able to use Lua. However, compiling without Lua support using -DUSE_LUA=OFF unnecessarily shows the (annoying) console window.

Steps to reproduce

  1. Build nightly with -DUSE_LUA=OFF
  2. Run darktable

Expected behavior

No Lua = no console needed = no console shown

Logfile | Screenshot | Screencast

No response

Commit

Probably since #22070 was merged

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

release-5.7.0-1033-g62ebe0a0f4-dirty

What OS are you using?

Windows

What is the version of your OS?

Windows 10 Pro 22H2

Describe your system

No response

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