Bug 196469

Summary: Zoom and pan should be available in all tools
Product: [Applications] digikam Reporter: Gandalf Lechner <gandalflechner>
Component: ImageEditor-CanvasAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 1.1.0
Sentry Crash Report:

Description Gandalf Lechner 2009-06-14 13:20:12 UTC
Version:           1.0.0-beta2 (rev.: 981747M) (using 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2)), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-13-generic

It would be very convenient if zoom/pan was available in all edit tools.

I think right now you can zoom with some keyboard/mouse combination in some tools, but it can't be easily discovered by the user and seems not to work in all tools. The most consistent setup I can imagine is to have the zoom in/out buttons and the fit to window/100% button in the top panel active all the time, as well as the pan tool in the lower right corner and the usual mouse wheel actions which can be used if no tool is active.
Comment 1 caulier.gilles 2010-01-20 12:20:43 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
Comment 2 caulier.gilles 2010-01-21 17:39:52 UTC
SVN commit 1078142 by cgilles:

Zoom to 100% is now available with all editor tools based on imageregionwidget as refocus and NR.
CCBUGS: 221988
CCBUGS: 196469


 M  +4 -4      editorwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1078142
Comment 3 caulier.gilles 2010-01-22 08:20:23 UTC
SVN commit 1078356 by cgilles:

Zoom to fit is now available with all editor tools based on imageregionwidget
as refocus and NR.
BUGS: 221988
BUGS: 196469


 M  +6 -0      libs/widgets/common/previewwidget.cpp  
 M  +1 -0      libs/widgets/common/previewwidget.h  
 M  +13 -10    utilities/imageeditor/editor/editorstackview.cpp  
 M  +3 -2      utilities/imageeditor/editor/editorstackview.h  
 M  +10 -3     utilities/imageeditor/editor/editortooliface.cpp  
 M  +4 -5      utilities/imageeditor/editor/editorwindow.cpp  


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