Skip to content

metadata editor preset: shortcut and lua command do not work #18911

Open
@UliGesing

Description

@UliGesing

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

I am trying to set a creative common license via meta data editor. Neither lua command nor keyboard shortcut work.

I tried this lua command, as copied from shortcut editor:
dt.gui.action("lib/metadata/preset/CC BY-NC-SA", 1,000)

After that, my logfile contains this error message:
[dt_action_process] action 'lib/metadata/preset/CC BY-NC-SA' not valid for current view

I tried to create a keyboard shortcut, but I get a popup message "... not assigned".

@wpferguson , @dterrahe : Could this have something to do with the new hierarchical presets? See #18829

Steps to reproduce

dt.gui.action("lib/metadata/preset/CC BY-NC-SA", 1,000)

After that, my logfile contains this error message:
[dt_action_process] action 'lib/metadata/preset/CC BY-NC-SA' not valid for current view

Expected behavior

No response

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

dt5.1.0+930~ga836f2f1f1

What OS are you using?

Linux

What is the version of your OS?

Arch-based EndeavorOs, rolling release

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions