OS VERSION: 126.96.36.199
HARDWARE: 10ii, volla/gs290
UI LANGUAGE: en/de
REGRESSION: yes, since 4.3
When scaling elements (tiles area for instance, in harbour-moremahjong), scaling can’t be applied correctly in Landscape mode:
In landscape rotation of 270,
window.innerWidth = 780, screen.width = 360 window.innerHeight = 780, screen.height = 780
With 0 degree roation, Portait, we get:
window.innerWidth = 360, screen.width = 360 window.innerHeight = 780, screen.height = 780
This error occurs on all 188.8.131.52 devices I tested. In ALL these cases, the same app can be played in the browser (Mah) and it’s ok.
I went through versions of the mahjong app to see if it’s a regression in my last release but it is not
Have updated to 184.108.40.206,72.
- Install harbour-moremahjong
- Start a game/pattern
- Rotate the screen to landscape
Scaling in a WebView should work as it does in the web browser
In Landscape mode, WebView content if scaled to window.innerHeight will overflow, not be visible, etc.
The xperia 10ii is a clean, licensed device. I haven’t even enabled the android stuff that comes with the license. No patches, no mods.
The volla/gs290 test devices have chum and openrepos installed apps and are targets for the SDK.
The symptoms are the same.