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

Vertical mouse offset for clicking #76

Open
sparr opened this issue Dec 16, 2018 · 2 comments
Open

Vertical mouse offset for clicking #76

sparr opened this issue Dec 16, 2018 · 2 comments

Comments

@sparr
Copy link

sparr commented Dec 16, 2018

The demo of the UI toolkit unpredictably acquires a vertical mouse offset when I attempt to use it. My first 0-N clicks will work fine, then from N+1 onwards my clicks register as being some distance below where I actually clicked, perhaps 100-300 pixels. I have to click well above my target, completely outside the control/region I am aiming for, to have the desired effect.

I should mention that I am on a High DPI display, specifically a 2560x1600 macbook "Retina" display that often claims to be lower resolution.

This behavior is not exhibited in a few other PlayN demo apps and games that I have tried.

@samskivert
Copy link
Member

I am unfortunately unable to reproduce this issue by just clicking around on the UI toolkit demo. I don't doubt that it happens, but without some way to reproduce it I have no way to investigate what might be going on.

I tested it on a HiDPI Mac, in Firefox and everything was fine. And I've run it in Chrome any number of times without problem as well.

If you can determine some particular action that results in the office, that would be very helpful.

@pweibert
Copy link
Contributor

I get the same behaviour on my Lenovo Thinkpad x220 with Ubuntu 19.04 (lxQt Desktop) in Firefox 70.0 (64-bit) aswell as i Google Chrome (Version 77.0.3865.120 (Official Build) (64-bit)) .

The offset appears after scrolling down the page, if the scrollbar is aligned on top mouse press events are aligned correctly.

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

3 participants