Mosaic icon indicating copy to clipboard operation
Mosaic copied to clipboard

See video for strange drag behavior

Open Hephaestus985 opened this issue 3 years ago • 17 comments

https://user-images.githubusercontent.com/35449392/162637067-4e522fc6-6e70-4aff-b2e8-0da7897bae77.mp4

Hephaestus985 avatar Apr 10 '22 19:04 Hephaestus985

Same bug as #63

pepijndevos avatar Apr 11 '22 09:04 pepijndevos

Hmmm can't actually reproduce this problem on either Firefox or Chrome. Can you still reproduce this with the fixes in #63 and #58 in place?

pepijndevos avatar Apr 11 '22 14:04 pepijndevos

And, do you need to do anything special? Like, does it only happen when zoomed out or after some other action, or is dragging always at double the speed?

pepijndevos avatar Apr 11 '22 14:04 pepijndevos

No, I do not need to do anything special. It happens when I am zoomed out and when I am not zoomed out. It also happens on both my laptop and PC. My pc has a 4k display and my laptop has 1080p plus 5120x1440p displays.

Hephaestus985 avatar Apr 13 '22 11:04 Hephaestus985

I also see that sometimes when I am dragging that suddenly the zoom-in function gets enabled.

Hephaestus985 avatar Apr 13 '22 11:04 Hephaestus985

This zoom-in function then keeps zooming in as long as I keep the middle mouse button pressed

Hephaestus985 avatar Apr 13 '22 12:04 Hephaestus985

I have started a windows VM with Google Chrome and still can't reproduce the problem :(

Does it always drag at double speed? Does it happen in Firefox and Edge? (if you have them) Does it happen with the pan tool? (space bar) Does it happen with another mouse? (if you have one)

I really have no idea what is going on. I could try some blind fixes, but without a way to test them...

pepijndevos avatar Apr 13 '22 13:04 pepijndevos

I've tried a random fix in 3fb4d56facf7639f7a45ca940e58f10640e7cc96 does that help?

pepijndevos avatar Apr 13 '22 13:04 pepijndevos

Does it always drag at double speed? Yes Does it happen in Firefox and Edge? (if you have them) no, only in edge and chrome, not firefox. The zoom-in behavior happens in all three browsers Does it happen with the pan tool? (space bar) Yes Does it happen with another mouse? (if you have one) Yes

Hephaestus985 avatar Apr 13 '22 14:04 Hephaestus985

I've tried a random fix in 3fb4d56 does that help?

No

Hephaestus985 avatar Apr 13 '22 14:04 Hephaestus985

:(

Also works fine on Sonya's laptop. straaaange.

pepijndevos avatar Apr 13 '22 14:04 pepijndevos

Strange, did you add a logger such that I can send logs back to you?

Hephaestus985 avatar Apr 13 '22 14:04 Hephaestus985

I figured it out!!! Do you have your display setting set to more than 100%? I see the same behavior when I set my scaling to 200%

pepijndevos avatar Apr 13 '22 15:04 pepijndevos

Yes

Hephaestus985 avatar Apr 13 '22 15:04 Hephaestus985

All, my displays have the scaling set to >100%

Hephaestus985 avatar Apr 13 '22 15:04 Hephaestus985

Ok once a1f409ea9eb8e1f76fdf64d8bdacf7b8b791c6e2 makes it to the web, it should be fixed?!

pepijndevos avatar Apr 13 '22 16:04 pepijndevos

I now know what causes the zoom-in bug. First start dragging with your middle mouse button and then (while still having pressed your middle mouse button) start scrolling to zoom out. Instead of zooming out, you will start to zoom in.

Hephaestus985 avatar Apr 14 '22 07:04 Hephaestus985