Project

General

Profile

Bug #10539

_dt_history_cleanup_multi_instance() "cleanups" even non-MI iops

Added by Jan Kundrát almost 4 years ago. Updated almost 4 years ago.

Status:
Fixed
Priority:
High
Assignee:
Category:
General
Target version:
-
Start date:
11/10/2014
Due date:
11/10/2014
% Done:

100%

Affected Version:
git development version
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

The attached file was produced by "copy", selecting just the whitebalance module, and pasting to another image. It contains duplicate invocation of the temperature module, and as a result, it produces magenta/pink image. Thanks to LebedevRI on IRC, I fixed it be removing rows where operation == "temperature" and multi_priority != 0.

IMG_2468.CR2.xmp - IMG_2468.CR2.xmp (5 KB) Jan Kundrát, 06/16/2015 10:44 PM

dt-wb-active-twice.jpeg - darkroom showing WB active twice (196 KB) Jan Kundrát, 06/16/2015 10:45 PM

dt-wb-active-once.jpeg - disabling one of these instances "worked" (193 KB) Jan Kundrát, 06/16/2015 10:45 PM


Related issues

Follows darktable - Bug #10192: multi-instance copy-paste doesn't save the order of instances Fixed 11/09/2014

Associated revisions

Revision 9cea5cd1
Added by Jan Kundrát almost 4 years ago

Do not create multi-instance history items for single-instance modules

The cleanup code introduced due to bug #10192 in commit
0afe981dc5c1d24a1e9867386eb1140382fff363 (thanks to LebedevRI for
tracking it down). If the end of the history stack contained data for
the same IOP module as the one we were pasting, the pasted instance got
turned into a multi-instance one by accident.

This patch preserves creation of extra history rows for these pasted
modules. I suppose that this is how it is supposed to work; users are
probably expected to compress the history stack afterwards if they don't
want to have N more items after each paste of N iops which were already
present in the stack. That's how I recall DT ever working, anyway.

Thanks to LebedevRI and houz for hand-holding me through DT's internals.

fixes #10539

Revision cf98e910
Added by Jan Kundrát over 3 years ago

Do not create multi-instance history items for single-instance modules

The cleanup code introduced due to bug #10192 in commit
0afe981dc5c1d24a1e9867386eb1140382fff363 (thanks to LebedevRI for
tracking it down). If the end of the history stack contained data for
the same IOP module as the one we were pasting, the pasted instance got
turned into a multi-instance one by accident.

This patch preserves creation of extra history rows for these pasted
modules. I suppose that this is how it is supposed to work; users are
probably expected to compress the history stack afterwards if they don't
want to have N more items after each paste of N iops which were already
present in the stack. That's how I recall DT ever working, anyway.

Thanks to LebedevRI and houz for hand-holding me through DT's internals.

fixes #10539

(cherry picked from commit 9cea5cd1f0a02d7f0ae99f3989265cdd8e921c97)

History

#1 Updated by Roman Lebedev almost 4 years ago

  • Status changed from New to Confirmed
  • % Done changed from 0 to 10

Note that this XMP contains 2 entries for temperature: one with multi_priority = 0, and one with multi_priority = 1.

#2 Updated by Jan Kundrát almost 4 years ago

Seems that my data are still broken, or that the version of DT which I use still contains some bug. I tweaked WB of a source image (IMG_2374.CR2, ID 9126) and pasted that to a target (IMG_2375.CR2, ID 9127). It went magenta once again. Compressing the stack didn't help.

Here's a diff of my sqlite dump and the XMP file in question:

diff --git "a/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2374.CR2.xmp" "b/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2374.CR2.xmp" 
index f0a2d91..e8afb2c 100644
--- "a/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2374.CR2.xmp" 
+++ "b/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2374.CR2.xmp" 
@@ -79,7 +79,7 @@
      <rdf:li>gz07eJxjYICAIL4pNkmleTbs3Ip2s/OO2tU+nG03/YSmfchzEft74an2cW817J8V5dnv7Eu0f7Cj1p6BoQGKR8FgBhxIbCYkNgBQxxYO</rdf:li>
      <rdf:li>000000bf76d8823e5665533e0441343f02f8603f0000000000000000cdcc4c3ecdcc4c3ecdcc4c3fcdcc4c3ecdcc4c3fcdcc4c3fcdcc4c3ecdcc4c3f000000000000000000000000010000000100000001000000</rdf:li>
      <rdf:li>0000000000000000c5d3a43e0000c842000080bf00000000</rdf:li>
-     <rdf:li>00409c4500e0e03f0000803f0000e23f</rdf:li>
+     <rdf:li>00409c458b0ecf3f0000803f0df80840</rdf:li>
     </rdf:Seq>
    </darktable:history_params>
    <darktable:blendop_params>
diff --git "a/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2375.CR2.xmp" "b/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2375.CR2.xmp"                                                
index 21f3558..41c1444 100644                                                                                                                                                               
--- "a/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2375.CR2.xmp"                                                                                                                        
+++ "b/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2375.CR2.xmp"                                                                                                                        
@@ -12,7 +12,7 @@                                                                                                                                                                           
    darktable:xmp_version="1"                                                                                                                                                               
    darktable:raw_params="0"                                                                                                                                                                
    darktable:auto_presets_applied="1"                                                                                                                                                      
-   darktable:history_end="11">                                                                                                                                                             
+   darktable:history_end="8">                                                                                                                                                              
    <darktable:mask_id>                                                                                                                                                                     
     <rdf:Seq/>                                                                                                                                                                             
    </darktable:mask_id>                                                                                                                                                                    
@@ -41,12 +41,9 @@                                                                                                                                                                          
      <rdf:li>3</rdf:li>                                                                                                                                                                    
      <rdf:li>3</rdf:li>                                                                                                                                                                    
      <rdf:li>2</rdf:li>                                                                                                                                                                    
-     <rdf:li>2</rdf:li>                                                                                                                                                                    
-     <rdf:li>4</rdf:li>                                                                                                                                                                    
      <rdf:li>4</rdf:li>                                                                                                                                                                    
      <rdf:li>2</rdf:li>                                                                                                                                                                    
      <rdf:li>2</rdf:li>                                                                                                                                                                    
-     <rdf:li>2</rdf:li>                                                                                                                                                                    
     </rdf:Seq>                                                                                                                                                                             
    </darktable:history_modversion>                                                                                                                                                         
    <darktable:history_enabled>                                                                                                                                                             
@@ -59,9 +56,6 @@                                                                                                                                                                           
      <rdf:li>1</rdf:li>                                                                                                                                                                    
      <rdf:li>1</rdf:li>                                                                                                                                                                    
      <rdf:li>1</rdf:li>                                                                                                                                                                    
-     <rdf:li>1</rdf:li>                                                                                                                                                                    
-     <rdf:li>1</rdf:li>                                                                                                                                                                    
-     <rdf:li>1</rdf:li>                                                                                                                                                                    
     </rdf:Seq>                                                                                                                                                                             
    </darktable:history_enabled>                                                                                                                                                            
    <darktable:history_operation>                                                                                                                                                           
@@ -71,12 +65,9 @@                                                                                                                                                                          
      <rdf:li>colorout</rdf:li>                                                                                                                                                             
      <rdf:li>denoiseprofile</rdf:li>                                                                                                                                                       
      <rdf:li>basecurve</rdf:li>                                                                                                                                                            
-     <rdf:li>temperature</rdf:li>                                                                                                                                                          
-     <rdf:li>exposure</rdf:li>                                                                                                                                                             
      <rdf:li>exposure</rdf:li>                                                                                                                                                             
      <rdf:li>temperature</rdf:li>                                                                                                                                                          
      <rdf:li>temperature</rdf:li>                                                                                                                                                          
-     <rdf:li>temperature</rdf:li>                                                                                                                                                          
     </rdf:Seq>                                                                                                                                                                             
    </darktable:history_operation>                                                                                                                                                          
    <darktable:history_params>                                                                                                                                                              
@@ -86,12 +77,9 @@                                                                                                                                                                          
      <rdf:li>gz09eJwrDnJ3YihKT2KgIYhQKCjKT8vMSaWlJTBQDPIQfQAAdaQHQQ==</rdf:li>                                                                                                             
      <rdf:li>000040400000403f000080bf0257013809d6473807f717b4aff14bb4629a183400000000</rdf:li>                                                                                             
      <rdf:li>gz07eJxjYICAIL4pNkmleTbs3Ip2s/OO2tU+nG03/YSmfchzEft74an2cW817J8V5dnv7Eu0f7Cj1p6BoQGKR8FgBhxIbCYkNgBQxxYO</rdf:li>                                                             
-     <rdf:li>00409c451d42db3f0000803fdaee0140</rdf:li>                                                                                                                                     
-     <rdf:li>000000006f12833a14bb033f0000c842000080bf00000000</rdf:li>                                                                                                                     
      <rdf:li>000000006f12833a18ae273f0000c842000080bf00000000</rdf:li>                                                                                                                     
-     <rdf:li>00409c45847bd23f0000803fe4ef0440</rdf:li>
-     <rdf:li>00409c45847bd23f0000803fe4ef0440</rdf:li>
      <rdf:li>00409c45beb4d53f0000803f1e2a0640</rdf:li>
+     <rdf:li>00409c458b0ecf3f0000803f0df80840</rdf:li>
     </rdf:Seq>
    </darktable:history_params>
    <darktable:blendop_params>
@@ -104,9 +92,6 @@
      <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
      <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
      <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
-     <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
-     <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
-     <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
     </rdf:Seq>
    </darktable:blendop_params>
    <darktable:blendop_version>
@@ -119,9 +104,6 @@
      <rdf:li>7</rdf:li>
      <rdf:li>7</rdf:li>
      <rdf:li>7</rdf:li>
-     <rdf:li>7</rdf:li>
-     <rdf:li>7</rdf:li>
-     <rdf:li>7</rdf:li>
     </rdf:Seq>
    </darktable:blendop_version>
    <darktable:multi_priority>
@@ -133,10 +115,7 @@
      <rdf:li>0</rdf:li>
      <rdf:li>0</rdf:li>
      <rdf:li>0</rdf:li>
-     <rdf:li>0</rdf:li>
-     <rdf:li>0</rdf:li>
-     <rdf:li>0</rdf:li>
-     <rdf:li>0</rdf:li>
+     <rdf:li>1</rdf:li>
     </rdf:Seq>
    </darktable:multi_priority>
    <darktable:multi_name>
@@ -149,9 +128,6 @@
      <rdf:li/>
      <rdf:li/>
      <rdf:li/>
-     <rdf:li/>
-     <rdf:li/>
-     <rdf:li/>
     </rdf:Seq>
    </darktable:multi_name>
    <dc:creator>
diff --git a/darktable-db-dump b/darktable-db-dump
index 6d607b7..9fab15f 100644
--- a/darktable-db-dump
+++ b/darktable-db-dump
@@ -65732,25 +65732,6 @@ INSERT INTO "history" VALUES(9134,8,2,'temperature',X'00409C45BEB4D53F0000803F1E
 INSERT INTO "history" VALUES(9135,28,2,'temperature',X'00409C45BEB4D53F0000803F1E2A0640',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9136,9,2,'temperature',X'00409C45BEB4D53F0000803F1E2A0640',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9137,11,2,'temperature',X'00409C45BEB4D53F0000803F1E2A0640',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9123,0,1,'sharpen',X'000000400000003F0000003F',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9123,1,2,'flip',X'FFFFFFFF',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9123,2,3,'colorout',X'73524742007267620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000582070726F66696C65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007352474200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9123,3,3,'denoiseprofile',X'000040400000403F000080BF0257013809D6473807F717B4AFF14BB4629A183400000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9123,4,2,'basecurve',X'0000000000000000520E943C62756E3C070B213E9B6EC53E7DE19B3E97C8293F54E7143FDE57653F5EED283FE6726E3FB98E613FE0B87D3F0000803F0000803F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000020000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9123,5,1,'atrous',X'0700000000000000CDCC4C3ECDCCCC3E9A99193FCDCC4C3F0000803F00000000CDCC4C3ECDCCCC3E9A99193FCDCC4C3F0000803F00000000CDCC4C3ECDCCCC3E9A99193FCDCC4C3F0000803F00000000CDCC4C3ECDCCCC3E9A99193FCDCC4C3F0000803F00000000CDCC4C3ECDCCCC3E9A99193FCDCC4C3F0000803F295C0F3F295C0F3F295C0F3F295C0F3F295C0F3F295C0F3F15AE073F15AE073F15AE073F15AE073F15AE073F15AE073FD0CC4C3ED0CC4C3ED0CC4C3ED0CC4C3ED0CC4C3ED0CC4C3E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',1,X'03000000180000000000C84200000000EA5B7B5500000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9123,6,4,'exposure',X'0000000060E5502ECBA93C3F0000C842000080BF00000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9123,7,2,'temperature',X'00409C4594AAD13F0000803FA05E0040',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9127,0,1,'sharpen',X'000000400000003F0000003F',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9127,1,2,'flip',X'FFFFFFFF',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9127,2,3,'colorout',X'73524742007267620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000582070726F66696C65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007352474200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9127,3,3,'denoiseprofile',X'000040400000403F000080BF0257013809D6473807F717B4AFF14BB4629A183400000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9127,4,2,'basecurve',X'0000000000000000520E943C62756E3C070B213E9B6EC53E7DE19B3E97C8293F54E7143FDE57653F5EED283FE6726E3FB98E613FE0B87D3F0000803F0000803F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000020000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9127,5,2,'temperature',X'00409C451D42DB3F0000803FDAEE0140',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9127,6,4,'exposure',X'000000006F12833A14BB033F0000C842000080BF00000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9127,7,4,'exposure',X'000000006F12833A18AE273F0000C842000080BF00000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9127,8,2,'temperature',X'00409C45847BD23F0000803FE4EF0440',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9127,9,2,'temperature',X'00409C45847BD23F0000803FE4EF0440',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9127,10,2,'temperature',X'00409C45BEB4D53F0000803F1E2A0640',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9191,0,1,'sharpen',X'000000400000003F0000003F',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9191,1,2,'flip',X'FFFFFFFF',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9191,2,3,'colorout',X'73524742007267620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000582070726F66696C65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007352474200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
@@ -65947,6 +65928,14 @@ INSERT INTO "history" VALUES(9217,1,3,'colorout',X'73524742007267620000000000000
 INSERT INTO "history" VALUES(9217,2,3,'denoiseprofile',X'000040400000403F000080BF0257013809D6473807F717B4AFF14BB4629A183400000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9217,3,2,'basecurve',X'0000000000000000520E943C62756E3C070B213E9B6EC53E7DE19B3E97C8293F54E7143FDE57653F5EED283FE6726E3FB98E613FE0B87D3F0000803F0000803F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000020000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9217,4,1,'sharpen',X'000000400000003F0000003F',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9123,0,1,'sharpen',X'000000400000003F0000003F',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9123,1,2,'flip',X'FFFFFFFF',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9123,2,3,'colorout',X'73524742007267620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000582070726F66696C65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007352474200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9123,3,3,'denoiseprofile',X'000040400000403F000080BF0257013809D6473807F717B4AFF14BB4629A183400000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9123,4,2,'basecurve',X'0000000000000000520E943C62756E3C070B213E9B6EC53E7DE19B3E97C8293F54E7143FDE57653F5EED283FE6726E3FB98E613FE0B87D3F0000803F0000803F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000020000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9123,5,1,'atrous',X'0700000000000000CDCC4C3ECDCCCC3E9A99193FCDCC4C3F0000803F00000000CDCC4C3ECDCCCC3E9A99193FCDCC4C3F0000803F00000000CDCC4C3ECDCCCC3E9A99193FCDCC4C3F0000803F00000000CDCC4C3ECDCCCC3E9A99193FCDCC4C3F0000803F00000000CDCC4C3ECDCCCC3E9A99193FCDCC4C3F0000803F295C0F3F295C0F3F295C0F3F295C0F3F295C0F3F295C0F3F15AE073F15AE073F15AE073F15AE073F15AE073F15AE073FD0CC4C3ED0CC4C3ED0CC4C3ED0CC4C3ED0CC4C3ED0CC4C3E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',1,X'03000000180000000000C84200000000EA5B7B5500000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9123,6,4,'exposure',X'0000000060E5502ECBA93C3F0000C842000080BF00000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9123,7,2,'temperature',X'00409C4594AAD13F0000803FA05E0040',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9126,0,1,'sharpen',X'000000400000003F0000003F',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9126,1,2,'flip',X'FFFFFFFF',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9126,2,3,'colorout',X'73524742007267620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000582070726F66696C65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007352474200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
@@ -65954,7 +65943,15 @@ INSERT INTO "history" VALUES(9126,3,3,'denoiseprofile',X'000040400000403F000080B
 INSERT INTO "history" VALUES(9126,4,2,'basecurve',X'0000000000000000520E943C62756E3C070B213E9B6EC53E7DE19B3E97C8293F54E7143FDE57653F5EED283FE6726E3FB98E613FE0B87D3F0000803F0000803F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000020000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9126,5,5,'clipping',X'000000BF76D8823E5665533E0441343F02F8603F0000000000000000CDCC4C3ECDCC4C3ECDCC4C3FCDCC4C3ECDCC4C3FCDCC4C3FCDCC4C3ECDCC4C3F000000000000000000000000010000000100000001000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9126,6,4,'exposure',X'0000000000000000C5D3A43E0000C842000080BF00000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
-INSERT INTO "history" VALUES(9126,7,2,'temperature',X'00409C4500E0E03F0000803F0000E23F',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9126,7,2,'temperature',X'00409C458B0ECF3F0000803F0DF80840',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9127,0,1,'sharpen',X'000000400000003F0000003F',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9127,1,2,'flip',X'FFFFFFFF',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9127,2,3,'colorout',X'73524742007267620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000582070726F66696C65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007352474200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9127,3,3,'denoiseprofile',X'000040400000403F000080BF0257013809D6473807F717B4AFF14BB4629A183400000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9127,4,2,'basecurve',X'0000000000000000520E943C62756E3C070B213E9B6EC53E7DE19B3E97C8293F54E7143FDE57653F5EED283FE6726E3FB98E613FE0B87D3F0000803F0000803F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000020000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9127,5,4,'exposure',X'000000006F12833A18AE273F0000C842000080BF00000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9127,6,2,'temperature',X'00409C45BEB4D53F0000803F1E2A0640',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9127,7,2,'temperature',X'00409C458B0ECF3F0000803F0DF80840',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,1,'');
 CREATE TABLE tags (id integer primary key, name varchar, icon blob, description varchar, flags integer);
 INSERT INTO "tags" VALUES(1,'darktable|format|cr2',NULL,NULL,NULL);
 INSERT INTO "tags" VALUES(2,'darktable|format|jpg',NULL,NULL,NULL);
@@ -65972,16 +65969,16 @@ CREATE TABLE tagxtag (id1 integer, id2 integer, count integer, primary key(id1,
 INSERT INTO "tagxtag" VALUES(1,1,1019306);
 INSERT INTO "tagxtag" VALUES(1,2,-1232);
 INSERT INTO "tagxtag" VALUES(2,2,1000164);
-INSERT INTO "tagxtag" VALUES(1,3,7415);
+INSERT INTO "tagxtag" VALUES(1,3,7424);
 INSERT INTO "tagxtag" VALUES(2,3,29);
-INSERT INTO "tagxtag" VALUES(3,3,1008969);
+INSERT INTO "tagxtag" VALUES(3,3,1008978);
 INSERT INTO "tagxtag" VALUES(1,4,2751);
 INSERT INTO "tagxtag" VALUES(2,4,1);
 INSERT INTO "tagxtag" VALUES(3,4,350);
 INSERT INTO "tagxtag" VALUES(4,4,1003093);
 INSERT INTO "tagxtag" VALUES(1,5,6693);
 INSERT INTO "tagxtag" VALUES(2,5,-2);
-INSERT INTO "tagxtag" VALUES(3,5,1798);
+INSERT INTO "tagxtag" VALUES(3,5,1807);
 INSERT INTO "tagxtag" VALUES(4,5,699);
 INSERT INTO "tagxtag" VALUES(5,5,1007032);
 INSERT INTO "tagxtag" VALUES(1,6,-339);
@@ -99266,8 +99263,6 @@ INSERT INTO "tagged_images" VALUES(9118,3);
 INSERT INTO "tagged_images" VALUES(9119,3);
 INSERT INTO "tagged_images" VALUES(9121,3);
 INSERT INTO "tagged_images" VALUES(9128,3);
-INSERT INTO "tagged_images" VALUES(9123,3);
-INSERT INTO "tagged_images" VALUES(9127,3);
 INSERT INTO "tagged_images" VALUES(9191,3);
 INSERT INTO "tagged_images" VALUES(9193,3);
 INSERT INTO "tagged_images" VALUES(9205,3);
@@ -99291,7 +99286,9 @@ INSERT INTO "tagged_images" VALUES(9305,3);
 INSERT INTO "tagged_images" VALUES(9225,3);
 INSERT INTO "tagged_images" VALUES(9218,3);
 INSERT INTO "tagged_images" VALUES(9217,3);
+INSERT INTO "tagged_images" VALUES(9123,3);
 INSERT INTO "tagged_images" VALUES(9126,3);
+INSERT INTO "tagged_images" VALUES(9127,3);
 CREATE TABLE styles (name varchar,description varchar, id INTEGER);
 INSERT INTO "styles" VALUES('sharpening for web export','',1);
 CREATE TABLE style_items (styleid integer, num integer, module integer, operation varchar(256), op_params blob, enabled integer, blendop_params blob, blendop_version integer, multi_priority integer, multi_name varchar(256));
@@ -127415,11 +127412,11 @@ INSERT INTO "images" VALUES(9119,9119,67,5568,3708,'IMG_2367.CR2','Canon','Canon
 INSERT INTO "images" VALUES(9120,9120,67,5568,3708,'IMG_2368.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:54:20',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434480279,7);
 INSERT INTO "images" VALUES(9121,9121,67,5568,3708,'IMG_2369.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:54:23',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434480325,8);
 INSERT INTO "images" VALUES(9122,9122,67,5568,3708,'IMG_2370.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:55:13',1606,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1432747972,5);
-INSERT INTO "images" VALUES(9123,9123,67,5568,3708,'IMG_2371.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:55:17',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434480475,8);
+INSERT INTO "images" VALUES(9123,9123,67,5568,3708,'IMG_2371.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:55:17',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434485197,8);
 INSERT INTO "images" VALUES(9124,9124,67,5568,3708,'IMG_2372.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:55:19',1601,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1432748295,5);
 INSERT INTO "images" VALUES(9125,9125,67,5568,3708,'IMG_2373.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:57:26',1601,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434148031,5);
-INSERT INTO "images" VALUES(9126,9126,67,5568,3708,'IMG_2374.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:10',1603,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434483447,8);
-INSERT INTO "images" VALUES(9127,9127,67,5568,3708,'IMG_2375.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:11',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434480592,11);
+INSERT INTO "images" VALUES(9126,9126,67,5568,3708,'IMG_2374.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:10',1603,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434485238,8);
+INSERT INTO "images" VALUES(9127,9127,67,5568,3708,'IMG_2375.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:11',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434485300,8);
 INSERT INTO "images" VALUES(9128,9128,67,5568,3708,'IMG_2376.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:12',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434480459,10);
 INSERT INTO "images" VALUES(9129,9129,67,5568,3708,'IMG_2377.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:14',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434480459,15);
 INSERT INTO "images" VALUES(9130,9130,67,5568,3708,'IMG_2378.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:15',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434480459,10);

#3 Updated by Jan Kundrát almost 4 years ago

OK, the key for reproducing this is that the module I'm copy-pasting has to be the end of the history stack of the target image.

I made one more test. IMG_2376 (9128) had WB as the last item in history, while IMG_2377 had something else (I deliberately clicked shadows&highlights and sharpening to make them the latest items in history). Then I went back to LT, selected IMG_2374 (9126) as source, "copy", chose just "white balance" in there. Selected IMG_2376 and IMG_2377, made sure that pasting mode is "append" (was already), clicked "paste", noticed that only "white balance" is selected, "OK" -> IMG_2376 is magenta.

Here's the diff of the DB and XMP files:

diff --git "a/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2376.CR2.xmp" "b/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2376.CR2.xmp" 
index a0e0320..5d36ee1 100644
--- "a/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2376.CR2.xmp" 
+++ "b/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2376.CR2.xmp" 
@@ -12,7 +12,7 @@
    darktable:xmp_version="1" 
    darktable:raw_params="0" 
    darktable:auto_presets_applied="1" 
-   darktable:history_end="8">
+   darktable:history_end="9">
    <darktable:mask_id>
     <rdf:Seq/>
    </darktable:mask_id>
@@ -44,6 +44,7 @@
      <rdf:li>5</rdf:li>
      <rdf:li>4</rdf:li>
      <rdf:li>2</rdf:li>
+     <rdf:li>2</rdf:li>
     </rdf:Seq>
    </darktable:history_modversion>
    <darktable:history_enabled>
@@ -56,6 +57,7 @@
      <rdf:li>1</rdf:li>
      <rdf:li>1</rdf:li>
      <rdf:li>1</rdf:li>
+     <rdf:li>1</rdf:li>
     </rdf:Seq>
    </darktable:history_enabled>
    <darktable:history_operation>
@@ -68,6 +70,7 @@
      <rdf:li>clipping</rdf:li>
      <rdf:li>exposure</rdf:li>
      <rdf:li>temperature</rdf:li>
+     <rdf:li>temperature</rdf:li>
     </rdf:Seq>
    </darktable:history_operation>
    <darktable:history_params>
@@ -80,6 +83,7 @@
      <rdf:li>000140bf00000000000000000000803f0000803f0000000000000000cdcc4c3ecdcc4c3ecdcc4c3fcdcc4c3ecdcc4c3fcdcc4c3fcdcc4c3ecdcc4c3f000000000000000000000000010000000000000000000000</rdf:li>
      <rdf:li>000000006f12833a0000c03e0000c842000080bf00000000</rdf:li>
      <rdf:li>00409c45beb4d53f0000803f1e2a0640</rdf:li>
+     <rdf:li>00409c458b0ecf3f0000803f0df80840</rdf:li>
     </rdf:Seq>
    </darktable:history_params>
    <darktable:blendop_params>
@@ -92,6 +96,7 @@
      <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
      <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
      <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
+     <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
     </rdf:Seq>
    </darktable:blendop_params>
    <darktable:blendop_version>
@@ -104,6 +109,7 @@
      <rdf:li>7</rdf:li>
      <rdf:li>7</rdf:li>
      <rdf:li>7</rdf:li>
+     <rdf:li>7</rdf:li>
     </rdf:Seq>
    </darktable:blendop_version>
    <darktable:multi_priority>
@@ -116,6 +122,7 @@
      <rdf:li>0</rdf:li>
      <rdf:li>0</rdf:li>
      <rdf:li>0</rdf:li>
+     <rdf:li>1</rdf:li>
     </rdf:Seq>
    </darktable:multi_priority>
    <darktable:multi_name>
@@ -128,6 +135,7 @@
      <rdf:li/>
      <rdf:li/>
      <rdf:li/>
+     <rdf:li/>
     </rdf:Seq>
    </darktable:multi_name>
    <dc:creator>
diff --git "a/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2377.CR2.xmp" "b/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2377.CR2.xmp" 
index 5953997..341e339 100644
--- "a/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2377.CR2.xmp" 
+++ "b/2014-06-14 Svatba Vla\304\217ka a Jakub/jkt/IMG_2377.CR2.xmp" 
@@ -12,7 +12,7 @@
    darktable:xmp_version="1" 
    darktable:raw_params="0" 
    darktable:auto_presets_applied="1" 
-   darktable:history_end="16">
+   darktable:history_end="17">
    <darktable:mask_id>
     <rdf:Seq/>
    </darktable:mask_id>
@@ -52,6 +52,7 @@
      <rdf:li>4</rdf:li>
      <rdf:li>2</rdf:li>
      <rdf:li>5</rdf:li>
+     <rdf:li>2</rdf:li>
     </rdf:Seq>
    </darktable:history_modversion>
    <darktable:history_enabled>
@@ -72,6 +73,7 @@
      <rdf:li>1</rdf:li>
      <rdf:li>1</rdf:li>
      <rdf:li>1</rdf:li>
+     <rdf:li>1</rdf:li>
     </rdf:Seq>
    </darktable:history_enabled>
    <darktable:history_operation>
@@ -92,6 +94,7 @@
      <rdf:li>exposure</rdf:li>
      <rdf:li>temperature</rdf:li>
      <rdf:li>clipping</rdf:li>
+     <rdf:li>temperature</rdf:li>
     </rdf:Seq>
    </darktable:history_operation>
    <darktable:history_params>
@@ -112,6 +115,7 @@
      <rdf:li>000000006f12833a18ae273f0000c842000080bf00000000</rdf:li>
      <rdf:li>00409c45beb4d53f0000803f1e2a0640</rdf:li>
      <rdf:li>406606c014c6c83e1c86d03a5a204a3f139c643f0000000000000000cdcc4c3ecdcc4c3ecdcc4c3fcdcc4c3ecdcc4c3fcdcc4c3fcdcc4c3ecdcc4c3f0000000000000000000000000100000000000000ffffffff</rdf:li>
+     <rdf:li>00409c458b0ecf3f0000803f0df80840</rdf:li>
     </rdf:Seq>
    </darktable:history_params>
    <darktable:blendop_params>
@@ -132,6 +136,7 @@
      <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
      <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
      <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
+     <rdf:li>gz12eJxjYGBgkGAAgRNODESDBnsIHll8ANNSGQM=</rdf:li>
     </rdf:Seq>
    </darktable:blendop_params>
    <darktable:blendop_version>
@@ -152,6 +157,7 @@
      <rdf:li>7</rdf:li>
      <rdf:li>7</rdf:li>
      <rdf:li>7</rdf:li>
+     <rdf:li>7</rdf:li>
     </rdf:Seq>
    </darktable:blendop_version>
    <darktable:multi_priority>
@@ -172,6 +178,7 @@
      <rdf:li>0</rdf:li>
      <rdf:li>0</rdf:li>
      <rdf:li>0</rdf:li>
+     <rdf:li>0</rdf:li>
     </rdf:Seq>
    </darktable:multi_priority>
    <darktable:multi_name>
@@ -192,6 +199,7 @@
      <rdf:li/>
      <rdf:li/>
      <rdf:li/>
+     <rdf:li/>
     </rdf:Seq>
    </darktable:multi_name>
    <dc:creator>
diff --git a/darktable-db-dump b/darktable-db-dump
index a89bce3..c0aeb46 100644
--- a/darktable-db-dump
+++ b/darktable-db-dump
@@ -65951,6 +65951,8 @@ INSERT INTO "history" VALUES(9129,12,4,'exposure',X'000000006F12833A14BB033F0000
 INSERT INTO "history" VALUES(9129,13,4,'exposure',X'000000006F12833A18AE273F0000C842000080BF00000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9129,14,2,'temperature',X'00409C45BEB4D53F0000803F1E2A0640',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 INSERT INTO "history" VALUES(9129,15,5,'clipping',X'406606C014C6C83E1C86D03A5A204A3F139C643F0000000000000000CDCC4C3ECDCC4C3ECDCC4C3FCDCC4C3ECDCC4C3FCDCC4C3FCDCC4C3ECDCC4C3F0000000000000000000000000100000000000000FFFFFFFF',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
+INSERT INTO "history" VALUES(9128,8,2,'temperature',X'00409C458B0ECF3F0000803F0DF80840',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,1,'');
+INSERT INTO "history" VALUES(9129,16,2,'temperature',X'00409C458B0ECF3F0000803F0DF80840',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'');
 CREATE TABLE tags (id integer primary key, name varchar, icon blob, description varchar, flags integer);
 INSERT INTO "tags" VALUES(1,'darktable|format|cr2',NULL,NULL,NULL);
 INSERT INTO "tags" VALUES(2,'darktable|format|jpg',NULL,NULL,NULL);
@@ -127416,8 +127418,8 @@ INSERT INTO "images" VALUES(9124,9124,67,5568,3708,'IMG_2372.CR2','Canon','Canon
 INSERT INTO "images" VALUES(9125,9125,67,5568,3708,'IMG_2373.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:57:26',1601,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434148031,5);
 INSERT INTO "images" VALUES(9126,9126,67,5568,3708,'IMG_2374.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:10',1603,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434485238,8);
 INSERT INTO "images" VALUES(9127,9127,67,5568,3708,'IMG_2375.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:11',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434485300,8);
-INSERT INTO "images" VALUES(9128,9128,67,5568,3708,'IMG_2376.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:12',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434485713,8);
-INSERT INTO "images" VALUES(9129,9129,67,5568,3708,'IMG_2377.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:14',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434485736,16);
+INSERT INTO "images" VALUES(9128,9128,67,5568,3708,'IMG_2376.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:12',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434485790,9);
+INSERT INTO "images" VALUES(9129,9129,67,5568,3708,'IMG_2377.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:14',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434485790,17);
 INSERT INTO "images" VALUES(9130,9130,67,5568,3708,'IMG_2378.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:15',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434480459,10);
 INSERT INTO "images" VALUES(9131,9131,67,5568,3708,'IMG_2379.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:17',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434480459,10);
 INSERT INTO "images" VALUES(9132,9132,67,5568,3708,'IMG_2380.CR2','Canon','Canon EOS 6D','Canon EF 17-35mm f/2.8L',0.00800000037997961,1.39999997615814208984e+00,1600.0,35.0,0.0,'2014:06:14 11:58:18',1602,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0000000000000000000000000000000000000000000000000000000000000000',0,0,0,1434480459,20);
@@ -139006,7 +139008,8 @@ INSERT INTO "images" VALUES(20782,20782,128,5568,3708,'IMG_3297.CR2','Canon','Ca
 INSERT INTO "images" VALUES(20783,20783,128,5568,3708,'IMG_3298.CR2','Canon','Canon EOS 6D','Sigma 85mm f/1.4 EX DG HSM',0.00800000037997961,1.39999997615814208984e+00,1600.0,85.0,0.0,'2015:06:13 17:47:54',1601,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0703020205660566070302020567056707030202056805680703020205690569',0,0,0,1434281203,6);
 INSERT INTO "images" VALUES(20784,20784,128,5568,3708,'IMG_3299.CR2','Canon','Canon EOS 6D','Sigma 85mm f/1.4 EX DG HSM',0.00800000037997961,1.39999997615814208984e+00,1600.0,85.0,0.0,'2015:06:13 17:47:56',1601,NULL,NULL,0.0,0,NULL,NULL,2048,16383,'','','','',0,NULL,NULL,NULL,NULL,X'0000C07F0703020206640664070302020665066507030202066606660703020206670667',0,0,0,1434281203,6);
 CREATE TABLE selected_images (imgid INTEGER PRIMARY KEY);
-INSERT INTO "selected_images" VALUES(9126);
+INSERT INTO "selected_images" VALUES(9128);
+INSERT INTO "selected_images" VALUES(9129);
 CREATE TABLE color_labels (imgid INTEGER, color INTEGER);
 INSERT INTO "color_labels" VALUES(0,0);
 INSERT INTO "color_labels" VALUES(0,1);
/pre>

#4 Updated by Roman Lebedev almost 4 years ago

  • System changed from other GNU/Linux to all
  • Priority changed from Low to High
  • Assignee set to Aldric Renaudin
  • Subject changed from Copy-pasting whitebalance can lead to stacks with duplicate entries for "temperature" IOP module, and WB being applied twice on top of each other to _dt_history_cleanup_multi_instance() "cleanups" even non-MI iops

_dt_history_cleanup_multi_instance() "cleanups" even non-MI iops.
If new history stack contains several items for non-MI iop like temperature or basecurve, it will make each of them unique entry with unique multi_priority, thus, completely breaking everything.
I suspect that commit 0afe981dc5c1d24a1e9867386eb1140382fff363 is the first bad commit.
Assigning it to AlicVB since it was his commit.

#5 Updated by Roman Lebedev almost 4 years ago

  • Follows Bug #10192: multi-instance copy-paste doesn't save the order of instances added

#6 Updated by Jan Kundrát almost 4 years ago

  • Status changed from Confirmed to Fixed
  • % Done changed from 10 to 100

#7 Updated by Roman Lebedev almost 4 years ago

  • Assignee changed from Aldric Renaudin to Jan Kundrát

Also available in: Atom PDF