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

Composite: temporarily inconsistent overlay registrations in DB #17732

Open
kofa73 opened this issue Oct 27, 2024 · 0 comments
Open

Composite: temporarily inconsistent overlay registrations in DB #17732

kofa73 opened this issue Oct 27, 2024 · 0 comments

Comments

@kofa73
Copy link
Contributor

kofa73 commented Oct 27, 2024

Describe the bug

  • When I start, image 12650 does not have an overlay:
sqlite> select * from overlay;
12292|12293
12290|12291
12291|12292
12293|12294
  • When an overlay is added to an image, an entry is added to the table overlay, connecting the two image IDs:
sqlite> select * from overlay;
12292|12293
12290|12291
12291|12292
12293|12294
12650|12638

My processing stack is (observe that the overlay is a black-and-white version of the image, for demonstration purposes):
image

  • I'll now add another composite instance, and use the same overlay:
sqlite> select * from overlay;
12292|12293
12290|12291
12291|12292
12293|12294
12650|12638

image
The DB contents do not change, which is OK, 12650 is only associate with one image as overlay.

  • I'll now replace the overlay image with another in the 2nd composite instance (this is a colour version):
sqlite> select * from overlay;
12292|12293
12290|12291
12291|12292
12293|12294
12650|12639

image
Observe that 12638 disappeared from the DB, only 12639 is shown.

  • Leaving the darkroom fixes this:
sqlite> select * from overlay;
12292|12293
12290|12291
12291|12292
12293|12294
12650|12638
12650|12639

While probably not a serious issue (the registration gets fixed), I'm wondering if it were possible to always keep the DB in sync with the modules.

Steps to reproduce

See above

Expected behavior

dt should keep the DB consistent at all times

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

downloaded from www.darktable.org

darktable version

4.9.0+925~gb7288e18b2

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 24.04

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant