photools.com Community

IMatch Bug Reports and Feature Requests => Bug Reports => Solved Bug Reports (for next version) => Topic started by: David Werier on February 08, 2025, 08:37:46 PM

Title: zoomed in image is not able to be moved around in quick view
Post by: David Werier on February 08, 2025, 08:37:46 PM
In the quick view panel I zoom into an image either by double clicking the image or holding down the ctl key and rotating the mouse wheel. In the past I was then able to move the zoomed in image around so I could see parts that were not showing because they were outside of the zoomed in portion. I would move it around by left clicking and holding that down while I dragged the mouse. This no longer works. The arrow keys also don't work to move the image around.
Title: Re: zoomed in image is not able to be moved around in quick view
Post by: Mario on February 08, 2025, 09:09:27 PM
Works fine here, just tried.
If you zoom in and left-click and hold, the file can be panned. No change here to IMatch 2023.

Just to be sure: You mean Quick View Panel, not  Peek View? Peek View has no pan.
Title: Re: zoomed in image is not able to be moved around in quick view
Post by: David Werier on February 09, 2025, 10:28:33 PM
I do mean the Quick View Panel. It still is not working for me. What should I do to help figure this out.
Title: Re: zoomed in image is not able to be moved around in quick view
Post by: Mario on February 09, 2025, 11:00:04 PM
No idea. Double-click to toggle between fit-to-window and 100% zoom. <Alt>+mouse move to zoom in and left-click and hold to pan.

I have tested this on 3 PC's and it worked on all of them. No similar reports from other users so far, so this seems to be something rather unique...
Title: Re: zoomed in image is not able to be moved around in quick view
Post by: David Werier on February 09, 2025, 11:18:07 PM
I have not used <Alt> + mouse move to zoom in before. I just tried that and it too doesn't seem to work. But the main thing that I have used fairly regularly is the left-click hold and then mouse move to pan. And that is not working.

I can't say for sure when this started but clearly since I updated to IMatch 2025, which was just three days ago. I started with 2025.1.6 and now 2025.1.8.
Title: Re: zoomed in image is not able to be moved around in quick view
Post by: thrinn on February 10, 2025, 07:46:14 AM
Works for me as expected. Tried it with different settings (docked / undocked panel, different window sizes). Always works as described in the help.
Title: Re: zoomed in image is not able to be moved around in quick view
Post by: Mario on February 10, 2025, 08:41:11 AM
I've checked the revision control system for changes between 2023 and 2025 related to the Quick View Panel, but apart from new ribbons, icons and menus I don't see any. No changes in how the click-pan is handled.

Does it work in the Viewer?
The Quick View Panel and the Viewer use the same underlying image render, zoom and pan code.
Title: Re: zoomed in image is not able to be moved around in quick view
Post by: David Werier on February 10, 2025, 03:20:32 PM
It does not work in the viewer either.
Title: Re: zoomed in image is not able to be moved around in quick view
Post by: thrinn on February 10, 2025, 03:26:28 PM
This is really just a shot into the dark: Have you by any chance some kind of mouse configuration software running (e.g. like Logi Options+) where you can redefine the behaviour of some mouse buttons?
Title: Re: zoomed in image is not able to be moved around in quick view
Post by: Mario on February 10, 2025, 03:41:29 PM
Ar, maybe, reboot your system once, in case something weird happened?
Title: Re: zoomed in image is not able to be moved around in quick view
Post by: David Werier on February 10, 2025, 03:58:27 PM
Not a shot in the dark. 

I have had for years my "primary" (left) and "secondary" (right) mouse buttons switched. See the setting in Windows that allows for that (see attached screen shot).

I went ahead and unchecked the "switch primary and secondary buttons" box. Then in iMatch things worked as expected.

I would like to keep my primary and secondary mouse buttons switched and be able to pan in iMatch, as I have been doing for years. Is there some way to make that happen?
Title: Re: zoomed in image is not able to be moved around in quick view
Post by: Mario on February 10, 2025, 06:09:32 PM
I have figured this out. It is a side-effect of a accessibility enhancement change I've made on September 22. 2024.

I've interpreted some API documentation wrong and explicitly checked with a system function of the user has swapped the primary and secondary mouse key, and, depending on the outcome, queries a system mouse state function differently.

As I have learned, even this low-level function receives the already swapped primary/secondary mouse. No need to check myself.

The code is used in the code that differentiates between left+click and hold and double-click, which in turn prevent you from panning the image in the Quick View Panel and Viewer. I have fixed this for the next release.

Tip: In Windows 11, you can enable this setting directly here:

Image1.jpg

Title: Re: zoomed in image is not able to be moved around in quick view
Post by: David Werier on February 10, 2025, 09:43:23 PM
Thanks Mario :) . Looking forward to the next release.