Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See video for strange drag behavior #75

Open
jellebakker96 opened this issue Apr 10, 2022 · 17 comments
Open

See video for strange drag behavior #75

jellebakker96 opened this issue Apr 10, 2022 · 17 comments

Comments

@jellebakker96
Copy link

Mosaic.-.Google.Chrome.2022-04-10.21-40-05.1.1.mp4
@pepijndevos
Copy link
Collaborator

Same bug as #63

@pepijndevos
Copy link
Collaborator

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 pepijndevos reopened this Apr 11, 2022
@pepijndevos
Copy link
Collaborator

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?

@jellebakker96
Copy link
Author

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.

@jellebakker96
Copy link
Author

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

@jellebakker96
Copy link
Author

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

@pepijndevos
Copy link
Collaborator

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
Copy link
Collaborator

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

@jellebakker96
Copy link
Author

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

@jellebakker96
Copy link
Author

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

No

@pepijndevos
Copy link
Collaborator

:(

Also works fine on Sonya's laptop. straaaange.

@jellebakker96
Copy link
Author

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

@pepijndevos
Copy link
Collaborator

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%

@jellebakker96
Copy link
Author

Yes

@jellebakker96
Copy link
Author

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

@pepijndevos
Copy link
Collaborator

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

@jellebakker96
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants