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

Iphone incorrect click coordinates in zoomed screen view #3122

Closed
cedy opened this issue Jul 4, 2022 · 3 comments
Closed

Iphone incorrect click coordinates in zoomed screen view #3122

cedy opened this issue Jul 4, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@cedy
Copy link
Contributor

cedy commented Jul 4, 2022

Describe the bug:

When using a zoomed display zoom view on IOS, click positions registered in fyne apps are incorrect relative to actual user clicks. Simply, when I click in the center of the screen, fyne registers the click a bit to the top left.

To Reproduce:

Steps to reproduce the behaviour:

  1. Set zoomed view in Settings -> Display & Brightness -> View -> Zoomed
  2. Get fyne calc from app store.
  3. Click on the top section of any button.
  4. See that click is not registered on button clicked. For example, clicking on top section of button with number 5 in fyne calc, you will get button with number 8 clicked.

Screenshots:

N/A

Example code:

I believe the bug is in internal driver code, so all fyne IOS apps are susceptible to the bug.

Device (please complete the following information):

  • OS: IOS
  • Version: 15.5
  • Go version: go1.17.1 darwin/amd64
  • Fyne version: v2.2.1 and develop
@cedy cedy added the unverified A bug that has been reported but not verified label Jul 4, 2022
@andydotxyz
Copy link
Member

This is now resolved on develop and ready for v2.2.3 as well, thanks @cedy

@andydotxyz andydotxyz added bug Something isn't working and removed unverified A bug that has been reported but not verified labels Jul 6, 2022
@andydotxyz andydotxyz added this to the Fixes (v2.2.x) milestone Jul 6, 2022
@andydotxyz
Copy link
Member

Sorry, had to un-apply the PR. It breaks popup position/size somehow :(

@andydotxyz andydotxyz reopened this Jul 6, 2022
@cedy cedy changed the title Iphone / IOS incorrect screen size / incorrect click coordinates Iphone incorrect click coordinates in zoomed screen view Jul 7, 2022
@cedy
Copy link
Contributor Author

cedy commented Jul 23, 2022

fixed by #3127

@cedy cedy closed this as completed Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants