Tags disappear after switching Workspaces

Steps

  1. Two Workspaces (A & B)
  2. DT set to create XMP files > after edit
  3. Created Tags for 100s of images in A (hierarchical)
  4. Switch to B
  5. I can see Tags from A in the Tagging window
  6. Switch Back to A
  7. All A’s tags are missing from Tagging Window
  8. Looking at files in Image Information, Tags are missing, and also randomly attached to the wrong images.
  9. If I remove all images from A and > add them back to library, all the correctl tags appear.

I have spent a morning trying to sort this for a photographic project I’m running for photographers with learning disabilities. It’s essential that I’m able to tag their work efficiently, otherwise - chaos.

Totally comfortable with the tagging system, but this seems to be broken?

Any ideas or suggestions really appreciated.

Bonus: here’s the first picture one of students ever took on a DSLR!

I’m on a Mac, DT 5.4, OS 26.2

my workaround is to import my project into my Personal Workspace (B).
But this isn’t ideal.

Many thanks

(retracted, see below) This is expected behavior, as I understand it. The tags are stored in the DB, and every time the sidecar is written (depending on configuration) those tag edits are also exported to the XMP file. When you later import the files anew, you also import the tags. But every workspace is completely separate, and so without reloading those XMP files the tags won’t make it from one workspace to another.

Workaround I’d use: set to automatic re-read of XMP files when starting darktable with the workspace of your students. This slows down starting up DT, depending on number of files somewhere between “a second” and “too long”. But edits, and here I mean all edits, will be imported.

ETA: This is how I deal with raw files that are synced via Nextcloud across separate computers (with obviously separate workspaces as a result).

ETA2: Nice photo!

thank you for the reply.
I get the principle, which makes sense.

But, if it works as you describe, it there must be a problem, because the tags I create in my Student’s workspace (B) should not be appearing in my Personal workspace (A).

They do.

Then, when I switch back from my Personal Space (A) to the student’s space (B), all their Tags disappear, and (some) tags from Workspace (A) are randomly assigned to (some) Student pictures. :disappointed:

This really does suggest a problem?

Sorry, that was a total failure of reading comprehension on my part, caused by obviously not properly reading. I’ll do better.

Sadly, I don’t have an idea regarding that behavior either.

1 Like

dt will keep one data.db and multiple library.db as it is currently implemented. The stepes you describe are not clear to me. Library A has images and xmp (with tags). How are those images added to library B?

1 Like

Have you tried the same operations without sidecars? As I understand it, both workspaces act on the same image files?

They aren’t . Thats the problem. They just appear in library B’s Tag Window, even though they were generated in library A.

When I close lib B and re-open A, they have disappeared.

  1. Start a GitHub issue. Since we share the same data.db, the total list of tags should show the tags from all libraries.

  2. to keep things isolated, I use --configdir in the command line for projects I work on (not my personal images).

1 Like

Posted to GitHub.