To be more specific:

All these modules are calling dt_image_synch_xmp which at the end
calls dt_exif_xmp_write, which does the actual writing of the file. So
probably we should call this a job.

On Mon, Sep 2, 2013 at 11:11 AM, Jose Carlos Garcia Sogo
<[email protected]> wrote:
> More than a background job it should be done in a thread different to
> the UI thread.
>
> On Mon, Sep 2, 2013 at 10:41 AM, Pascal Obry <[email protected]> wrote:
>> Changing a keyword or metadata trigger the writing of the xmp with
>> updated information. Using this on some large collection can take a
>> very long time if the files are on an external drive. During this time
>> darktable is not responsive to any action.
>>
>> It wouldn't be an issue if the waiting was 1 or 2 seconds but
>> yesterday I have cleaned up some of my tags and metadata on selection
>> of 1000, 2000 or 4000 files and I had to wait sometime more than 1
>> minute!
>>
>> After looking a bit a this the issue is on the writing of the xmp. It
>> is ok with local files but on a NAS it is very slow.
>>
>> My proposal would be to write the XMP as background jobs.
>>
>> Does this makes sense? Do you see a drawback?
>>
>> --
>>   Pascal Obry /  Magny Les Hameaux (78)
>>
>>   The best way to travel is by means of imagination
>>
>>   http://v2p.fr.eu.org
>>   http://www.obry.net
>>
>>   gpg --keyserver keys.gnupg.net --recv-key F949BD3B
>>
>> ------------------------------------------------------------------------------
>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>> Discover the easy way to master current and previous Microsoft technologies
>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>> tutorial videos with LearnDevNow. Subscribe today and save!
>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
>> _______________________________________________
>> darktable-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/darktable-devel
>
>
>
> --
> José Carlos García Sogo
>    [email protected]



-- 
José Carlos García Sogo
   [email protected]

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to