darktable-org / darktable-org/lua-scripts
Speed up Lua scripts startup
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 219
- フォーク
- 142
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
darktable の起動中に複数画像のコマンドラインインポートを再現し、data/luarc と併せて script_manager を調査する。起動時のスクリプト初期化と post-import-image イベントがどのように相互作用するかを確認する。GUI の初期化回避策に頼らず、最初にインポートされた画像をスクリプトから利用できれば完了とする。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100