Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7789] image size discrepency between iOS and Android

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2017-06-12T19:19:47.000+0000
Affected Version/sRelease 1.8.1
Fix Version/sn/a
Componentsn/a
Labelsparity
ReporterCarl Orthlieb
AssigneeEric Merriman
Created2012-02-23T08:53:15.000+0000
Updated2017-06-12T19:19:47.000+0000

Description

1. The enclosed project prints out an image's dimensions at various stages: after creation, after adding to a window, after the window has been opened. 2. Run on iOS and Android and compare the output. EXPECTED RESULT: the output is the same ACTUAL RESULT: results are significantly different. The image on Android has no size until actually visible and it's visible size is different from the iOS size. IMPACT: makes writing cross-platform code that lays out UI difficult. Android ------- I/TiAPI ( 311): IMAGE SIZE ON CREATION 0 x 0 I/TiAPI ( 311): IMAGE SIZE ON ADD TO PARENT 0 x 0 I/TiAPI ( 311): IMAGE SIZE ON OPEN 320 x 424 iOS --- [INFO] IMAGE SIZE ON CREATION 260 x 214 [INFO] IMAGE SIZE ON ADD TO PARENT 260 x 214 [INFO] IMAGE SIZE ON OPEN 260 x 214

Attachments

FileDateSize
TIMOB-7789.zip2012-02-23T08:54:23.000+00002468888

Comments

  1. Lee Morris 2017-06-12

    Closing ticket due to the time passed, lack of information and lack of progress. Any problems, please file a new ticket.

JSON Source