Remove the arrow repeat delay for image panning.

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

Post Reply
User avatar
CreativeWorld
Posts: 127
Joined: Fri Dec 30, 2011 7:08 pm

Remove the arrow repeat delay for image panning.

Post by CreativeWorld » Sun Dec 29, 2019 9:27 pm

Windows has key repeat delay and repeat rate settings in Control Panel -> Keyboard. But this is for text input, not for scrolling or panning with arrow keys. Windows 10's default Photos app does not have this delay when panning a zoomed-in image. But XnView MP seems to have this delay. That is, if you press down the down arrow key and not release it, there is a stutter after the very first panning down. This is not good.

Windows 10's Photos app seems to be a UWP which uses a complete different framework than the traditional Win32 applications, so the input system may also be different for it, but even a traditional Win32 image viewer like Honeyview does not have this delay when panning, so it probably is possible for XnView MP to remove this delay.

User avatar
CreativeWorld
Posts: 127
Joined: Fri Dec 30, 2011 7:08 pm

Re: Remove the arrow repeat delay for image panning.

Post by CreativeWorld » Sun Dec 29, 2019 9:35 pm

I have searched StackOverflow about this. One suggested method seems to be not actually panning the image by each key down event. That is, at the first key down event, you start panning the image and keep panning it on your own suitable speed until you get the key up event.

User avatar
xnview
Author of XnView
Posts: 33617
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Remove the arrow repeat delay for image panning.

Post by xnview » Tue Jan 14, 2020 11:49 am

currently i don't find a way to disable it
Pierre.

Post Reply