make more responsive DT startup while opening files not in the library #5799
Labels
bug: pending
someone needs to start working on that
scope: DAM
managing files, collections, archiving, metadata, etc.
scope: performance
doing everything the same but faster
scope: UI
user interface and interactions
Milestone
My workflow usually includes pre sorting RAW files into directories, then converting all of those files to jpegs using DT.
Opening multiple new RAW files from a file manager freezes DT for a long time. This can happen if DT is not yet started and with DT already open.
When DT is closed and I open tens (and sometimes - hundreds) of raw files DT starts but is unresponsive for a very long time. It's also impossible to say if anything is happening or if DT is hung.
A related problem is that xmp generation in this scenario is done in a single thread (while up to 8 background threads is configured in settings)
Opening files from a file manager while DT is running leads to a strange behaviour: mode is switched from lighttable to darkroom and then some processing starts. It's hard to say if DT is working or not as GUI may freeze or do strange things during initial XMP generation.
Usually, working with multiple files is not a problem for DT though: I can easily have a render task running while I edit next batch of photos. So my guess is that this is a problem with process arguments parsing
It would be nice to decouple somehow program startup and XMP generation for files in arguments. May be by creating a separate 'open' task for program to handle later on.
This may somehow be related to #5782 . While splash screen is not an ideal solution for this problem it's still better than looking up last generated XMP file in a directory.
Let me know if I failed to include any important details.
The text was updated successfully, but these errors were encountered: