Fix darkroom scroll zooming on macOS using magic mouse and pinch zooming on 2nd window - #21058
Conversation
|
@MStraeten can you please give this fix a try and share the logs? Thanks. |
|
zooming by dragging on magic mouse and trackpad is fine - unless pinch and zoom was done on trackpad. |
Ah yes, that's also the behavior on Linux with a mouse & touchpad, given that we cannot resolve the ambiguity between scroll-zooming (linearly moving both fingers up/down in parallel) and panning gestures (moving both fingers in either direction), without using another key to differentiate them. As far as I remember, dragging (moving mouse / single finger while clicking) has always been doing a panning motion. Then we come to the design decision which was
The rationale:
After above PRs were merged, two finger gestures (including the scroll one) became the panning gesture, just like the usual dragging works (holding left click / touchpad tap and then moving). And zooming is done with the dedicated and universally used pinch-zoom gesture. Does reverting my PR / going back to a commit before my PR merged (e.g. d436623) bring back the behavior you expect? |
d52d66e to
f0c75a8
Compare
By the way, thanks for the log file, this made the following clear: I need to have another look if I find more time later. |
ac56042 to
dbccd35
Compare
|
@da-phil apologies for derailing the conversation. Can this regression (jerky scroll in panels) be related to any of your previous changes in this area? https://discuss.pixls.us/t/jerky-scroll-in-utility-and-processing-modules/57851?u=masterpiga |
Did you try a speculative revert of the merge commit in question? |
Also refactor code to avoid code duplication across main & second window pinch zoom handling
dbccd35 to
d1a6093
Compare
|
This pull request has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please verify it has no conflicts with the master branch and rebase if needed. Mention it now if you need help or give permission to other people to finish your work. |
|
Fixed in #21659 |
|
To be more specific: 88e6de8 This one fixes and superseds this one. |
Did this fix the issue @MStraeten? |
This PR tries to fix the following regressions caused in #20812: