Skip to content

Conversation

@zisoft
Copy link
Collaborator

@zisoft zisoft commented Jan 13, 2026

The metadata editor should only allow to edit tags which are supposed to be user-editable.

Some users add exif tags to the metadata editor which leads to some confusion as it does not work as the user expects.
See #19973, #19366

This PR restricts the list of allowed metadata tags in the metadata editor preferences dialog to:

  • Xmp.dc.*
  • Xmp.acdsee.*
  • Xmp.iptc.*
  • Iptc.*

@wpferguson : please decide if #19973 can be closed with this change.

@zisoft zisoft force-pushed the restrict-metadata-tags branch from 4adf53e to cd56d98 Compare January 13, 2026 18:32
@wpferguson
Copy link
Member

@TurboGit you might want to consider this for 5.4.1 to "stop the bleeding" since in it's current state metadata editor can add arbitrary Exif tags, but they don't react the way that the users think they should (display information from exif fields in the image that darktable doesn't support).

I'm working on solutions to both use cases raised in #19306

@zisoft zisoft force-pushed the restrict-metadata-tags branch from cd56d98 to 2f1156f Compare January 14, 2026 09:18
@TurboGit TurboGit added this to the 5.4.1 milestone Jan 14, 2026
@TurboGit TurboGit added bugfix pull request fixing a bug priority: high core features are broken and not usable at all, software crashes release notes: pending labels Jan 14, 2026
The metadata editor should only allow to edit tags which are supposed to
be user-editable.
@zisoft zisoft force-pushed the restrict-metadata-tags branch from 2f1156f to a5b5f12 Compare January 14, 2026 12:16
Copy link
Member

@TurboGit TurboGit left a comment

Choose a reason for hiding this comment

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

Thanks!

@TurboGit TurboGit merged commit 3c2bf3b into darktable-org:master Jan 14, 2026
5 checks passed
@TurboGit
Copy link
Member

Merged in master and 5.4.1. Thanks for looking into this.

@zisoft zisoft deleted the restrict-metadata-tags branch January 14, 2026 16:59
@zisoft
Copy link
Collaborator Author

zisoft commented Jan 14, 2026

Release notes:

The list of the allowed tags in the metadata editor preferences has been restricted to tags which are supposed to be user-editable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix pull request fixing a bug priority: high core features are broken and not usable at all, software crashes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants