I have an issue when exporting images from darktable (5.7.0, but may have been there already earlier). Each time an image is ready there pops up a small window saying “Exporting image n/m”. On my Windows this window graps the focus, and I’m suddenly giving random keyboard shortcuts to darktable, instead of typing a document or writing an address to browser. I have set up two virtual desktops in my Win, and dt even switches the desktop. This makes it impossible to do something else while waiting the images to be exported.
Is there any setting that I could use to turn the progress window off? Or should I add a feature request / bug report in Github?
-Juha
1 Like
Donatzsky
(Nis Donatzsky)
August 11, 2026, 8:57pm
2
Searching the GitHub issues for “focus” gave me this:
opened 01:51PM - 03 Mar 26 UTC
reproduce: confirmed
scope: UI
bug: pending
scope: windows support
### Is there an existing issue for this?
- [x] I checked and did not find my is… sue in the already reported ones
### Describe the bug
When darktable is in the background and I pass the mouse over a lighttable thumbnail, darktable focuses itself so the window I was using is behind it. Depending on where my mouse is, darktable also breaks task switching (such that alt-causes the task switching UI to flash on screen then disappear).
Mousing over the film strip in lighttable also steals focus, but it does not in the darkroom view.
I experienced the problem with my own build and with the official nightly: darktable-5.5.0+448.g73f7976e53-win64.exe
When I launched it from WSL ('/mnt/c/Program Files/darktable-dev/bin/darktable.exe'), the problem stopped and didn't recur for a while. It doesn't happen every time.
3. Task switching not allowed during switching to lighttable
This scenario seems relatively easier to reproduce.
Open the darkroom.
Press `l` to go back to lighttable.
Quickly press alt+tab and hold alt so the task switcher stays on screen.
What happens: the task switcher is cancelled. Even if you try to switch tasks again, it doesn't work for a couple seconds.
What should happen: darktable should not force any application focus changes.
I was not able to get a descriptive screen capture because the alt+tab behavior (3) was all I could reproduce consistently.
### Steps to reproduce
1. focus stealing
Open the lighttable view.
Optionally, press `f` to start a full screen view.
Optionally, show the film strip at the bottom of the screen.
Put another window such as File Explorer or Firefox over darktable, but not covering up all the images.
Without defocusing the new program, mouse over an image.
Your chosen program will lose focus.
2. task switching interruption
Focus darktable as in the previous step.
Put the cursor over an image.
Try to alt+tab to change tasks: hold `alt` then press and release `tab`.
In some cases, you will not be able to change tasks, even when you repeatedly press `tab`, since task switching is cancelled.
### Expected behavior
_No response_
### Logfile | Screenshot | Screencast
No log messages are produced with `-d common`.
### Commit
_No response_
### Where did you obtain darktable from?
GitHub nightly
### darktable version
darktable-5.5.0+448.g73f7976e53
### What OS are you using?
Windows
### What is the version of your OS?
Windows 11
### Describe your system
16 GB RAM, most of which is in use, according to Task Manager.
### Are you using OpenCL GPU in darktable?
Yes
### 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_
1 Like
Terry
(Terry Pinfold)
August 12, 2026, 1:23am
3
I have issues with DT5.6 on Windows stealing focus and this is a known issue. Can be a bit of a pain. I presume it affects all Windows users but I am not sure.
2 Likes
No, I don’t think this issue is caused by that focus stealing issue. If fact, I’m pretty sure that one is fixed. I will close it.
The exact cause is not known but there’s a workaround in this ticket:
opened 09:14PM - 24 Jul 24 UTC
bug: upstream
lua
scope: windows support
**Is your feature request related to a problem? Please describe.**
It's reall… y "ugly" that Darktable opens multiple terminal windows on startup, which close immediately. After all, Darktable is a GUI application, and _no_ other GUI (which are not geared towards developers or really really special purpose) application opens a terminal screen on startup.
This is even worse, because you think that the Ui is opened, and then a terminal window quickly pops up directly in focus, thus preventing being able to click around in the UI.
**Describe the solution you'd like**
Just start Darktable without any terminal screens :)
**Alternatives**
I think there is no alternative. This behaviour is just completely unnecessary on Windows and it does not make any sense.
**Additional context**
I have this issue on Windows 11 Home. I think it might have something to do with the lua interpreter being loaded, and for each lua script loaded there is yet another terminal screen opening? Probably the lua interpreters should be started as GUI process?
Anyway, I cannot imagine how this was not yet discussed, but this is really one of the weirdest UI things I find with Darktable :)
I would also try to give it a go on fixing it myself, although not sure where to start. Any pointers would be appreciated :)
In short, make a launcher instead of running the native .exe.
1 Like
Hi,
This is not about the terminal window at the start. This relates to the small progress message appearing during export.
2 Likes
A comment from a recent user on the first issue (focus stealing) said the launcher workaround fixes focus problems during export.
If that turns out to be wrong, it would be helpful if you added a comment. If you test to confirm first.
1 Like
Just a question about your reinstall on darktable
Did you just del and reinstall only the program files
Or did you start from scratch and del your config in your user dirs. Ie Db files as well
1 Like
ChiMo
August 12, 2026, 3:37pm
9
Honestly, I don’t remember. Try the less aggressive option first.
1 Like
The workaround works. The title of the issue in Github was just misleading.
ChiMo
August 12, 2026, 8:28pm
11
I stand corrected. What I said before is incorrect. I deleted it because I can’t edit it.
I lose control during each export, even though Darktable doesn’t appear in the foreground.
Terry
(Terry Pinfold)
August 13, 2026, 1:18am
12
The problem for me in losing control during export is that I might go into another application and when I type certain letters DT interprets it as a keyboard shortcut so I end up marking images for rejection, get the map view or go into a slide show. This focus stealing didn’t happen in much early versions of DT. I don’t remember if it crept in with 5.4 or 5.6. I too am on Windows 11.
There is a way that both of you could help: add a comment on the github issue page which launcher you used and if you had any trouble. I didn’t succeed with the PowerShell launcher, only with the VBS. I think we could use some data on what works well before we incorporate this workaround into the installer.
akgt94
August 13, 2026, 11:57pm
15
It pooped up around the same time as the fix for the incorrect color profiles with more than one monitor. Could be cause-and-effect or just a coincidence.
Couple of questions.
When we install this, will it will uninstall the existing eversion (e.g. 5.4.0) and replace it with the development version?
If it goes bad, can we uninstall it and go back to 5.4.0 without problems with the databases or edits?
I have two monitors from different manufacturers. I noticed after I export, the image looks a little darker in IrfanView, which is supposed to be a color-managed viewer. Is this supposed to be a fix for this issue? Something else?
edit:
in dar…
The issue with toasts, you mean? The issue with thumbnails in lighttable was definitely caused by the multi-monitor change. It was a known problem, but maybe the developers didn’t realize how much it would annoy users.
g-man
August 14, 2026, 2:40am
17
If most users dont like it, then do a PR to undo the change.
I don’t think it (focus stealing related to lighttable thumbnails) is happening in master anymore.