How do I disable zooming when holding left/right mouse button and using scroll wheel?

Bugs which have been reproduced by a second user or the developer, or features to do

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
NM64
Posts: 78
Joined: Sun Aug 05, 2007 7:17 pm

How do I disable zooming when holding left/right mouse button and using scroll wheel?

Post by NM64 »

According to this older bug-report thread, it sounds like the function of zooming when holding left or right click and using the scroll wheel even when the scroll wheel is set to a different function is an intentional feature rather than a bug: So I'm wondering how I may go about disabling this function in XnView MP since I have my scroll wheel set to scroll up/down which is something I sometimes like to use when in the middle of making selection rectangles.

(also I specifically use the Linux version of XnView MP if that makes any difference)
User avatar
xnview
Author of XnView
Posts: 43700
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How do I disable zooming when holding left/right mouse button and using scroll wheel?

Post by xnview »

What do you have in Settings>Interface>Mouse?
Pierre.
User avatar
NM64
Posts: 78
Joined: Sun Aug 05, 2007 7:17 pm

Re: How do I disable zooming when holding left/right mouse button and using scroll wheel?

Post by NM64 »

xnview wrote: Fri Oct 06, 2023 12:24 pm What do you have in Settings>Interface>Mouse?
This:
mouse.png
You do not have the required permissions to view the files attached to this post.
User avatar
user0
XnThusiast
Posts: 1589
Joined: Sat May 09, 2015 9:37 am

Re: How do I disable zooming when holding left/right mouse button and using scroll wheel?

Post by user0 »

xnview wrote: Fri Oct 06, 2023 12:24 pm What do you have in Settings>Interface>Mouse?
its hardcoded combination
LMB/RMB + Wheel = zoom

guess its better to add it to the Settings with options:
- Do nothing
- Zoom in/out [default?]
- Previous/next file
see Settings - interface - make Mouse controls explicit


also there is an issue
1. make selection and hold LMB
2. scroll in/out
image will zoom in/out
selection will disappear, but its size hint will remain on screen until LMB is clicked
Last edited by user0 on Tue Mar 19, 2024 6:02 am, edited 2 times in total.
User avatar
xnview
Author of XnView
Posts: 43700
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How do I disable zooming when holding left/right mouse button and using scroll wheel?

Post by xnview »

ok, i'll add an option...
Pierre.