Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

darktable process persists after application is quit and windows close #18208

Open
curiousercreative opened this issue Jan 14, 2025 · 3 comments
Labels
bug: invalid the bug is not a bug, but a feature

Comments

@curiousercreative
Copy link

Describe the bug

After quiting darktable (GUI window closed), the process may persist and subsequent attempts to open darktable will yield warning of database lock.

Steps to reproduce

I haven't confirmed these specifically, but I believe:

  1. Enable setting for "generate thumbnails when idle" and select a high enough resolution that it may take some time to generate thumbs
  2. Add some thousands of images and view them in lighttable
  3. Let the appilcation idle long enough to begin generating thumbs
  4. Quit the application

Expected behavior

darktable should wrap up its business in less than a minute and the process should exit gracefully

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

flatpak

darktable version

5.0.0

What OS are you using?

Linux

What is the version of your OS?

Pop!_OS 22.04

Describe your system?

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

3080 Ti v565

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

The process has been running for 15 minutes now generating thumbnails and populating the cache on disk happily.

@MStraeten
Copy link
Collaborator

MStraeten commented Jan 14, 2025

have a look at #18061

@curiousercreative
Copy link
Author

@MStraeten thanks for the link, it does appear to be understood and covered there. I'll leave the issue open unless there are others that it duplicates.

@jenshannoschwalm
Copy link
Collaborator

Dt will continue pending jobs like export in the background by design. Backthumbs stop immediately.

So you might see what happens with a log using '-d pipe' .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: invalid the bug is not a bug, but a feature
Projects
None yet
Development

No branches or pull requests

3 participants