Bug 163284

Summary: Choose smart default zoom factor for each filter preview
Product: [Applications] digikam Reporter: Dik Takken <kde>
Component: ImageEditor-CanvasAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 1.1.0

Description Dik Takken 2008-06-05 18:08:59 UTC
Version:           0.9.4-beta4 (using KDE 3.5.8)
Installed from:    Gentoo Packages
OS:                Linux

For some image filters you really need a preview at exactly 100% zoom factor in order to see the actual effect of the filter. Think of the unsharp mask or image restoration plugins. For some other image filters, you need to see the entire image in order to see of the filter settings are correct or not. Think of Adjust Curves and White Balance Correction.

Maybe each filter can have its default preview zoomfactor set to whatever the user is most likely to need: Either 1:1 or zoom-to-fit.
Comment 1 caulier.gilles 2010-01-20 12:20:39 UTC
SVN commit 1077548 by cgilles:

Editor Tool Preview factoring : Important change here
- Now editor tool based on image region widget preview can be zommed to 100% all time. there is no zomming 
restriction based on image size to always fit contents to preview size.
- When user select a zommable editor tool, canvas zoom is applied to preview.
- All preview mode are available with image region widget tools based (NR, refocus, etc...)

Warnings: this commit do not finalize preview factoring and regressions tests need to be done again. 
I can see preview dysfunctions in some cases.

TODO : port progressively all editor tools based on image guide widget (not zommable) to image region widget (zommable) as WB, curves, levels, etc...

BUGS: 221987
BUGS: 163284
BUGS: 148072
BUGS: 222975
CCBUGS: 197316
CCBUGS: 148235
CCBUGS: 220567
CCBUGS: 196469
CCBUGS: 221988



 M  +5 -0      canvas/canvas.cpp  
 M  +1 -0      canvas/canvas.h  
 M  +7 -4      editor/editortooliface.cpp  
 M  +24 -54    widgets/imageregionwidget.cpp  
 M  +4 -7      widgets/imageregionwidget.h  


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