darktable-org / darktable-org/lua-scripts

RFC: new event after preset or style has been applied

Open
#638 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
219
Forks
142
PR merge metrics
No merged PRs in 30d

Description

I am thinking about a way to trigger some actions after a style has been applied., Typical examples would be:

  • rotate and perspective: analyze line structure and correct
  • AgX: auto tune levels
  • Filmic: Auto tune levels
  • ...

My current idea is to execute a Lua script after a style (or maybe preset) has been applied. However, to my knowledge this would need a new event. There is already an event DT_SIGNAL_PRESET_APPLIED, but it is not exposed to Lua scripts. I could not find any similar event for styles.

@wpferguson What is your opinion?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the existing DT_SIGNAL_PRESET_APPLIED event and how Lua scripts receive events; the issue names no files or tests. Clarify whether styles and presets need separate notifications, then establish the event behavior and Lua exposure required for the proposed post-application actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.