Bug 134308

Summary: Add arrow buttons on thumbnail to perform lossless rotation.
Product: [Applications] digikam Reporter: Julien Narboux <Julien>
Component: Thumbs-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: marcel.wiesweg
Priority: NOR Flags: caulier.gilles: Junior_Jobs+
Version: 0.10.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description Julien Narboux 2006-09-19 08:53:45 UTC
Version:            (using KDE KDE 3.4.2)

I would be great if when the mouse pointer is over a thumbnail two buttons appear in the corner of the thumbnail. The left one perfoms a 270° lossless rotation and the right one a 90° lossless rotation.
IMHO It would be more intuitive than the right click menu action (and it saves a click).

This is the way it is done in several other photo managment software.
Comment 1 Mikolaj Machowski 2006-09-19 15:42:03 UTC
Second that. BTW - could we get rid of 90, 270 deg rotation? Everywhere
is Left, Right rotation...
Comment 2 Andi Clemens 2008-12-04 20:55:47 UTC
Gilles, Marcel,

this can be done with the upcoming new iconview, based on model-view concept and purely Qt4 wigets?
This could work like in gwenview...

Andi
Comment 3 caulier.gilles 2008-12-04 21:15:30 UTC
Yes, another one...

Gilles Caulier
Comment 4 caulier.gilles 2008-12-06 15:29:11 UTC
Another Model/View candidate for KDE4

Gilles Caulier
Comment 5 caulier.gilles 2009-05-31 10:54:23 UTC
Marcel,

I currently study new class named ImageRotateOverlay to implement this feature. Fine for you ?

Gilles Caulier
Comment 6 Marcel Wiesweg 2009-05-31 17:20:56 UTC
Yes.
Just look at ImageSelectionOverlay. Derive a class from HoverButtonDelegateOverlay and create one overlay object per button.
Comment 7 caulier.gilles 2009-05-31 18:42:34 UTC
ok. fine. i will do it.

Gilles
Comment 8 caulier.gilles 2009-06-01 08:45:51 UTC
SVN commit 976164 by cgilles:

New overlay buttons over icon view item to rotate left/right images. Transformations are lossless for jpeg : 
we use kipi-plugin to rotate.
BUG: 134308


 M  +1 -0      CMakeLists.txt  
 M  +50 -5     digikam/digikamimageview.cpp  
 M  +6 -0      digikam/digikamimageview.h  
 AM            digikam/imagerotationoverlay.cpp   [License: GPL (v2+)]
 AM            digikam/imagerotationoverlay.h   [License: GPL (v2+)]


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