Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17211] Android: KitchenSink: Layout/Dimension Properties is not working as expected

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-08-27T20:35:32.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sRelease 3.4.0
ComponentsAndroid
Labelsqe-3.3.0, qe-noTestNeeded, regression
ReporterPriya Agarwal
AssigneePing Wang
Created2014-06-25T11:32:18.000+0000
Updated2014-11-18T23:56:59.000+0000

Description

*Steps to reproduce* 1. Install KS on android device 2. Navigate to Window properties>Layout/Dimension Properties {color:green}Expected results{color} 1: Two rectangular views should appear in lower left corner. The one in the foreground is blue and the one behind is pink. Refer to expected.png {color:red}Actual Result{color} 1: Two rectangular views appears in mid and views are very thinly colored. Refer to actual.png It is regression. Works fine on 3.2.3.GA Works fine on iOS

Attachments

FileDateSize
actual.png2014-06-25T11:32:18.000+000016630
expected.png2014-06-25T11:32:18.000+000095502

Comments

  1. Ping Wang 2014-06-30

    Layout test is not valid for Android since 3.3.0 because there is no lightweight windows any more. Removed the test for Android. Also removed the property "ti.android.useLegacyWindow" from tiapp.xml. PR: https://github.com/appcelerator/KitchenSink/pull/24
  2. Neeraj Gupta 2014-08-25

    I was referring to the following code in KS: {Code} // Layout test is not valid for BlackBerry or Android var osname = Ti.Platform.osname; if (osname != 'blackberry' && osname != 'android') { win.add(buttonLayout); } {Code}
  3. Ingo Muschenetz 2014-08-25

    Note to all. [~ngupta] was referring to https://github.com/pingwang2011/KitchenSink/commit/f436108e2488c496e4e091b3d3940a2ae70473b8, but that appears to no longer be an issue, since the latest KS has that code removed (see https://github.com/appcelerator/KitchenSink/blob/master/Resources/ui/common/baseui/window_properties.js).
  4. Priya Agarwal 2014-08-28

    Verified with: Appcelerator Studio:3.4.0.201408270900 Sdk:3.4.0.v20140827165712 alloy:1.5.0-dev titanium:3.4.0-dev titanium-code-processor:1.1.1 acs:1.0.16 npm:1.3.2 OS:Maverick(10.9.4) xcode: Xcode6Beta6 Device:iPhone5s(v8.0),Nexux7(v4.4.4) Have verified with latest KS(https://github.com/appcelerator/KitchenSink/tree/master), Layout/Dimension Properties Button have been removed for both Android and iOS. Please confirm Is this expected behavior for iOS to remove Layout/Dimension Properties Button?
  5. Lokesh Choudhary 2014-08-29

    The Layout/Dimension Properties is removed from KS for both android & IOS according to [~pwang] comment above. Closing. Environment: Appc Studio : 3.4.0.201408282203 Ti SDK : 3.4.0.v20140829104912 Mac OSX : 10.9.4 Alloy : 1.5.0-dev CLI - 3.4.0-dev Code Processor: 1.1.1 KS master - 3.3.1 Android 4.4.4 - Nexus 5

JSON Source