[TIMOB-7675] Parent window size incorrect during open event in iOS
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-07-10T22:05:27.000+0000 |
Affected Version/s | Release 1.8.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Carl Orthlieb |
Assignee | Eric Merriman |
Created | 2012-02-15T15:12:36.000+0000 |
Updated | 2017-07-10T22:05:27.000+0000 |
Description
1. Launch the sample app in the iOS simulator
2. Rotate the window 90 degrees right
3. Rotate the window 90 degrees left
4. Examine the console output:
[INFO] CONSTRUCTION Parent Window Size (w:320 h: 460)
[INFO] OPEN EVENT Parent Window Size (w:320 h: 416)
[INFO] ORIENTATION CHANGE Parent Window Size (w:480 h: 300)
[INFO] ORIENTATION CHANGE Parent Window Size (w:320 h: 460)
EXPECTED: All window sizes should be the same (accounting for orientation)
ACTUAL: During the open event the window height is smaller by 44 pixels (navbar?)
Attachments
Note that there is an additional side effect/bug here related to the origin of the window. At construction time, the y axis of origin is offset by the NavBar height. After subsequent rotations the origin does not take into account the height of the NavBar. You can see this from position of the label in the first and last screen shot. In both cases, the location of the label is fixed at the same point but displays differently.
Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.