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

BUG: Full Screen in Web App Uses Arbitrary Resolution (iPadOS) #351

Open
MisutaaAsriel opened this issue Nov 17, 2024 · 1 comment
Open

Comments

@MisutaaAsriel
Copy link

MisutaaAsriel commented Nov 17, 2024

Issue

When using Infinite Mac in Web App form, by adding it to the Home Screen, on iPadOS, "Full Screen" mode incorrectly downscales from an arbitrary resolution to the height of the viewport, in a 1:1 aspect ratio.

This is not exhibited when viewed in the browser, where "Full Screen" scales to the existing viewport.

Reproduction

  1. Open InfiniteMac.org
  2. "Share" page
  3. Add to Home Screen
  4. Open newly added Infinite Mac web app
  5. Customize Mac OS 9.0.4
  6. Set scale to "Full Screen"
  7. Run

Expected Result

Mac OS scales to full viewport.

Actual Result

Mac OS scales 1:1 to an arbitrary resolution of 820x820, downscaled to the viewport height.

Environment

  • OS: iPadOS 18.2
  • Hardware: iPad Air (4th Generation)
  • Browser: Safari
@MisutaaAsriel
Copy link
Author

MisutaaAsriel commented Nov 17, 2024

Attached is an image of the issue

image

Additional Notes

The system strangely is set to 820x820 which… is not the viewport height either. My iPad model, with the safari toolbar hidden, reports a viewport resolution of 1180x779 — With margin of error and accounting for the title in safari, this amounts to roughly 1180x790, or thereabout (1180x780 in custom mode fills the screen when tapping fullscreen on the bezel, without being clipped by the iOS navigation bar, so consider this the "safe" resolution). This is still less than 820. So I revise my issue that it is setting the Mac to an arbitrary resolution, downscaled to the viewport height, rather than setting it to the available viewport resolution.

@MisutaaAsriel MisutaaAsriel changed the title BUG: Full Screen in Web App Incorrectly Square (iPadOS) BUG: Full Screen in Web App Uses Arbitrary Resolution (iPadOS) Nov 17, 2024
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

1 participant