REPRODUCIBILITY: 100%
OS VERSION: 4.4.0.72
HARDWARE: 10ii, volla/gs290
UI LANGUAGE: en/de
REGRESSION: yes, since 4.3
DESCRIPTION:
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 4.4.0.72 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
PRECONDITIONS:
Have updated to 4.4.0.68,72.
STEPS TO REPRODUCE:
- Install harbour-moremahjong
- Start a game/pattern
- Rotate the screen to landscape
EXPECTED RESULT:
Scaling in a WebView should work as it does in the web browser
ACTUAL RESULT:
In Landscape mode, WebView content if scaled to window.innerHeight will overflow, not be visible, etc.
MODIFICATIONS:
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.