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

Sync XMPs after tag attach/detach via Lua API. #1384

Merged
merged 3 commits into from Jan 8, 2017

Conversation

GHswitt
Copy link
Contributor

@GHswitt GHswitt commented Dec 14, 2016

When tags are attached/detached via Lua API, only the database entries are updated. The XMP files are not updated. This should fix it.

@LebedevRI
Copy link
Member

Very good description of the problem.

} while((list_iter = g_list_next(list_iter)) != NULL);
}
g_list_free(g_list_first(tagged_images));

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this chunk of code ? what are you fixing ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code is from src/libs/tagging.c, delete_button_clicked. dt_tag_remove only removes the tag from the database. The XMPs are not updated. The code collects all images with the tag before the tag is removed and syncs the XMPs after the tag is removed.

@boucman
Copy link
Member

boucman commented Dec 20, 2016

This looks correct but I don't have time to completely check and we are deep in RC territory.

that would be worth adding, though. no API change, strictly a bugfix

@LebedevRI
Copy link
Member

we are deep in RC territory.

In fact, we already had the last RC before the release

@boucman
Copy link
Member

boucman commented Dec 21, 2016

ok, first stable update it is, then... that is not a release blocker

@LebedevRI
Copy link
Member

@boucman feel free to merge this one if you think it makes sense.

@boucman boucman merged commit 26b7112 into darktable-org:master Jan 8, 2017
@LebedevRI LebedevRI modified the milestone: 2.4 Jan 15, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants