Bug 249029

Summary: Changing the parameters of a tool in the batch queue manager changes parameters of all instances of such tool
Product: [Applications] digikam Reporter: Alain Knaff <kde>
Component: BatchQueueManager-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 1.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 1.5.0

Description Alain Knaff 2010-08-25 20:47:33 UTC
Version:           1.2.0
OS:                Linux

If a tool is included twice (either at different steps of same queue, or in different queues), the changing the parameters on one instance changes them on all instances

Reproducible: Always

Steps to Reproduce:
1. Add Brightness/Control/Gamma to default queue
2. Set Contrast to 25 and Gamma to 1.5
3. Add a new queue (Queues->New Queue)
4. Add a Brightness/Control/Gamma to second queue
5. Change its parameters to Contrast 50 and Gamma 1
6. Go to BCG tool in first queue: its parameters are now also changed to 50/1

Actual Results:  
Parameters of BCG tool in queue 1 change after changing those in queue 2

Expected Results:  
Parameters of BCG tool in queue 1 should stay unaffected by any changes elsewhere

OS: Linux (x86_64) release 2.6.32-23-generic
Compiler: cc
Comment 1 caulier.gilles 2010-09-13 15:12:26 UTC
SVN commit 1174875 by cgilles:

use an internal signal/slot connection to assign bat tool settings when it updated using setSettings()
BUGS: 249029


 M  +7 -6      batchtool.cpp  
 M  +6 -5      batchtool.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1174875