[TIMOB-2426] Map view in 1.5, on device, is not centered correctly
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 |
Components | iOS |
Labels | defect, ios, mapview, release-1.6.0, rplist |
Reporter | Rick Blalock |
Assignee | Blain Hamon |
Created | 2011-04-15T03:19:26.000+0000 |
Updated | 2011-04-17T01:59:04.000+0000 |
Description
Customer Ticket here: http://developer.appcelerator.com/helpdesk/view/57311">http://developer.appcelerator.com/helpdesk/view/57311
In the simulator, it looks fine. On the device it is offset. I've confirmed this on my device.
adding to rplist as maps is now broken.
This is an issue with -[TiViewProxy setVisible:withObject:]. It turns out that there must be some kind of issue with setHidden: when changing an object from invisible to visible, possibly because the view visibility/hiddenness doesn't change until AFTER the execution.
(from [9bdb1ac3deb5b1bba34b83eb1572cc3d0c1b8f50]) [#2426 state:fixed-in-qa] Enforce a specific order of operations when setting 'visible', and block on property setting for setX:withObject: as we do with setX_:. https://github.com/appcelerator/titanium_mobile/commit/9bdb1ac3deb5b1bba34b83eb1572cc3d0c1b8f50"> https://github.com/appcelerator/titanium_mobile/commit/9bdb1ac3deb5...
Notes/Comments
Successful iOS Device test on 01/25/2011
Mobile SDK version: 1.6.0 (01/25/11 13:33 1f1dd51...)
Device/Version: iPhone 4 / 4.2.1
Simulator Version: 4.2 (235)