Bug 105934 - Would like to use the arrow keys to pan an image
Summary: Would like to use the arrow keys to pan an image
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Keyboard (show other bugs)
Version: 0.7.3
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-19 10:01 UTC by Duncan Hill
Modified: 2017-08-13 21:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan Hill 2005-05-19 10:01:51 UTC
Version:           .7.3 beta2 (using KDE KDE 3.4.0)
Installed from:    Unlisted Binary Package
OS:                Linux

While using the middle mouse button works, I'm still primarily a keyboard jockey.  It would be nice to be able to use the arrow keys to pan around an image when editing/viewing it.  Related (but a different wish?) would be the ability to nudge a selection using the arrow keys.
Comment 1 Duncan Hill 2006-07-12 16:51:51 UTC
Middle mouse button (for those that have it) works fine.
Comment 2 Gilles Schintgen 2006-07-12 17:09:41 UTC
>          Resolution|                            |WORKSFORME
> Middle mouse button (for those that have it) works fine.


I'm glad to hear that it's no longer a problem for you. But it's still a 
(minor!) issue for some users. While the middle button works fine, it has one 
huge drawback: this functionality isn't discoverable.

So, could you please reopen your wish?

Thanks,

Gilles
Comment 3 Duncan Hill 2006-07-12 17:28:52 UTC
Reopening at Gilles request.

I suppose this actually extends into being able to configure more shortcuts in the shortcut area - though there are certainly a ton of them in there already.
Comment 4 Tom Malfrere 2007-01-16 22:53:05 UTC
I'm using a laptop with a touchpad, so I don't have a middle mouse button...

I have no problem using a modifier key like ctrl, alt or shift to activate the panning mode
Comment 5 Achim Bohnet 2007-01-17 00:38:42 UTC
@Tom: pressing left and right mouse buttons together usually simulates an middle click.  works fine here.

@Keyboard jockeys: which apps have this feature, and more importantly
what shortcuts are they using?   (I like consistency)

Achim
Comment 6 Tom Malfrere 2007-01-18 00:18:58 UTC
Achim Bohnet wrote:
[bugs.kde.org quoted mail]

check out gwenview, they have this feature.
no shortcuts, just hold down the mouse button and move the cursor
or on a touchpad tap twice and hold down on the second tap (standard
behaviour for dragging something)

I also like to compare with ACDSee and irfanview on windows, but I don't
     know how they do it.

I'm ACDSee does it, don't know about irfanview.
> 
> Achim
> 
> 

Comment 7 Frank Siegert 2007-03-24 18:35:54 UTC
I am a bit confused about the comments. You were asking for _keyboard_ navigation in image editor, right?
I agree with that; one should be able to use Arrow keys to pan the image, and maybe even Ctrl-arrow for accelerated movement and Shift-arrow for slower movement. As far as I can see, this should not be in conflict with anything in image editor view (in album view they are used for multiple selection).
Achim: Have you already made any decision on this feature?
Comment 8 caulier.gilles 2007-03-28 10:34:54 UTC
From #7 : As far as I can see, this should not be in conflict with anything in image editor view 

==> Wrong : there is a conflic with keyboard handling used by Text Editor in Comments & Tags Side bar. If this view is active in editor, it take the focus and image panning in canvas will not work...

Gilles Caulier
Comment 9 Tom Malfrere 2007-03-28 12:04:22 UTC
the ctrl and shift for slower and faster panning are not really important to me.

What would be more intuitive would be to look at the time one of the arrow key is held down. The longer the key is down the faster the movement. Immediate stop when the key is released.
Comment 10 Frank Siegert 2007-03-28 12:24:41 UTC
> ==> Wrong : there is a conflic with keyboard handling used by Text Editor
> in Comments & Tags Side bar. If this view is active in editor, it take the
> focus and image panning in canvas will not work...

And would it be possible to activate arrow-panning when the Comments/Tags sidebar is not active?

> What would be more intuitive would be to look at the time one of the arrow
> key is held down. The longer the key is down the faster the movement.
> Immediate stop when the key is released.

Yes, that sounds even better than Ctrl/Shift.
Comment 11 caulier.gilles 2007-04-08 08:54:59 UTC
*** Bug 143947 has been marked as a duplicate of this bug. ***
Comment 12 Mikolaj Machowski 2007-11-19 21:42:01 UTC
Probably easier would be one shortcut to pop-up pan widget, use arrows to navigate there and use escape to close pan widget
Comment 13 caulier.gilles 2010-01-25 21:19:41 UTC
SVN commit 1080184 by cgilles:

add keybaord handling to pan preview and editor canvas with arrow key.
BUGS: 105934


 M  +47 -4     libs/widgets/common/previewwidget.cpp  
 M  +2 -0      libs/widgets/common/previewwidget.h  
 M  +43 -0     utilities/imageeditor/canvas/canvas.cpp  
 M  +11 -10    utilities/imageeditor/canvas/canvas.h  


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