Bug 189861

Summary: keyboard shortcuts for assigning markers
Product: [Applications] digikam Reporter: Mikolaj Machowski <mikmach>
Component: Usability-KeyboardAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description Mikolaj Machowski 2009-04-17 10:34:37 UTC
Version:            (using Devel)
Compiler:          gcc4.3.2 
OS:                Linux
Installed from:    Compiled sources

One of big issues with current previews in image plugins are problems with zooming. In some plugins it is awkward in others it is outright impossible.

One of plugins where it is impossible is Free Rotation plugin - and this is one of plugins where precision is important. I think that zooming question should be dealt in Big Preview Rewrite but there is one way of simplicistic zooming for all plugins: click FullScreen button in toolbar. It instantly gives 100% increase of preview image. Of course it means all controls vanish. Here is my wish:

Shortcuts for markers assigment and for adjustment. My propositions: Ctrl+Shift+1, Ctrl+Shift+2, Ctrl+Shift+A

Of course long term solution is proper zooming in preview widget but even with full implemented shortcuts can be handy.

BTW - is there lists of what developers and users expect from new preview widget?
Comment 1 Andi Clemens 2009-05-30 22:19:44 UTC
Why CTRL+SHIFT+1? Wouldn't CTRL+1 be easier? You could press this shortcut with one hand while leaving the other hand on the mouse.

OK if you are flexible you could do CTRL+SHIFT+1 with one hand, too :D


I tried to implement shortcuts, but they wouldn't work. Don't know why. Need to investigate a little bit more.

Andi
Comment 2 Mikolaj Machowski 2009-05-30 22:55:01 UTC
CTRL+1 is taken for rating. Although this action is inaccessible when in plugin I am not sure if a) it is possible at all to assign "contextual shortcuts" b) it is usability-wise.
Comment 3 Andi Clemens 2009-05-30 23:10:30 UTC
But still this is too much for a shortcut I think. Why not just use '1' and '2' as keys?

I think I need to create an action, although it should be possible to add shortcuts to buttons (at least this is my understanding of the qpushbutton docu).

Andi
Comment 4 Mikolaj Machowski 2009-05-31 12:15:42 UTC
If anything I think 1..5 should be default shortcuts for rating. And then Ctrl+1,2 would be good for Free Rotation.
Comment 5 Andi Clemens 2009-10-27 12:41:08 UTC
SVN commit 1041105 by aclemens:

Add actions for setting marker points (shift+ctrl+1 / 2), as well as for
autoAdjust (shift+ctrl+R).
In the future these shortcuts might be added to the image canvas itself, to be
used in other plugins as well.

BUG:189861

 M  +6 -0      freerotationtool.cpp  
 M  +6 -4      freerotationtool.h  
 M  +30 -3     imageplugin_freerotation.cpp  
 M  +6 -0      imageplugin_freerotation.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1041105
Comment 6 Andi Clemens 2009-10-27 12:42:22 UTC
The rest of the report is actually "off-topic", zooming is a global issue and needs to be addressed in the whole image editor.
Closing this one now...
Comment 7 Andi Clemens 2009-10-27 12:56:33 UTC
(In reply to comment #2)
> CTRL+1 is taken for rating. Although this action is inaccessible when in plugin
No, you can still access it when in the plugin.