darktable-org / lua-scripts

155 stars 110 forks source link

LUA: importing an image does not force a refresh of the new thumbtable #246

Closed Mark-64 closed 4 years ago

Mark-64 commented 4 years ago

With lua, the lib function dt.database.import() was used to force a refresh of lighttable so the image appeared immediately in the collection. No longer so with the new thumbtable. The image is indeed imported, but the view isn't refreshed. Forcing manually a refresh by changing back and forth film roll or going in and out of darkroom, makes the imported image show in the collection. I posted the same issue (4889) on the darktable repo, as I am not sure where it is the appropriate place.

DT 3.1 git master on Windows 10

wpferguson commented 4 years ago

You can also click the collapse grouped images and then click it again which will show the imported image. This is really a darktable issue, not a script issue. I'll look at the code and see if I can figure it out.

Mark-64 commented 4 years ago

Fixed in DT