Scroll wheel setting for mouse drag#347
Conversation
|
I need to evaluate this a little more to ensure correct behaviour with both standard and natural system scrolling settings when Horos is reversed and not. I am aiming for consistency between scroll wheel and dragging as per #290. Will reopen the PR shortly. |
|
Thanks! Fauze |
BackgroundThis needs a little bit of explanation. Ignoring dragging a slider-thumb, there are two ways that mice and trackpads can scroll through a series: I'll call them Some years after this preference was added, macOS itself (Lion, 2011) added a similar system setting. (Apple's reasoning was uniformity with the iPad model of directly pushing a page around.) Let's call these settings So now the user can choose from a 2x2 matrix of Proposed SolutionTwo principles:
So scrolling by either method down will result in moving down through the image stack, in 3 of 4 cases. Down <-> Up only occurs if the settings are This PR (hopefully) achieves that aim across the five domains I could identify:
If you agree with the concept, please check the commits for any unintended breakages. I have deliberately not modified the UI, but maybe the preference label could be renamed or disabled when Cheers, DDP |
|
Hi @DD-P - My colleague @brizolara will be reviewing this and will get back to you. Thanks |
|
Hi, David, Thanks a lot for such a detailed work!
|
|
Thank you for the review. I'll check (and try to correct) for point 1. I'll re-do the PR to maintain behaviour and existing code paths as per point 2. It will hopefully take 2-4 days to fit this in. |
a8582db to
5cafb81
Compare
|
I tried to strip and re-push a new set of commits, but that action auto-closed the PR. I've made a new PR at #353, which looks to work correctly for me. I hope it addresses points 1 and 2 above and works as intended for you. |
|
Hi HOROS team |
Image dragging now conforms to the reversed scroll wheel setting for all the different viewers.
This was a little big for one commit, so I've broken the commits down into refactoring and staged improvements.