Skip to content

Speed up Lua scripts startup #673

@wpferguson

Description

@wpferguson

When images are imported from the command line at darktable startup Lua doesn't initialize quick enough to capture import events so on a multi image import the first 5 - 10 images may not be recognized.

The culprit is script_manager and the fact that it doesn't (re)start running scripts until the GUI initializes.

A possible work around that has been tested is adding a post-import-image event "buffer" into data/luarc to capture an import from the command line and make the image list available to scripts starting up and then clear the"buffer" after script_manager is fully initialized.

The best fix is to rework the way that script_manager starts scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions