[TIMOB-17166] iOS: clipMode works on Simulator, fails on device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-06-19T19:37:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.3.0, Release 3.4.0 |
Components | iOS |
Labels | 3.3.0.RC, clipMode, clipping, module_view, qe-testadded |
Reporter | Fokke Zandbergen |
Assignee | Vishal Duggal |
Created | 2014-06-16T12:23:19.000+0000 |
Updated | 2014-06-19T22:20:52.000+0000 |
Description
When I run the following code on both simulator and device, the first one does the clipping, but the second one fails, as screenshots show:
Ti.UI.setBackgroundColor('#000');
var win = Ti.UI.createWindow({
backgroundColor: 'red'
});
var clipper = Ti.UI.createView({
width: 100,
height: 100,
clipMode: Ti.UI.iOS.CLIP_MODE_ENABLED,
backgroundColor: 'blue'
});
var view = Ti.UI.createView({
width: 300,
height: 300,
backgroundColor: 'green'
});
clipper.add(view);
win.add(clipper);
win.open();
Attachments
File | Date | Size |
---|---|---|
iOS Simulator Screen shot 16 Jun 2014 14.18.52.png | 2014-06-16T12:23:19.000+0000 | 16344 |
Screenshot 2014.06.16 14.18.55.png | 2014-06-16T12:23:19.000+0000 | 25912 |
I can reproduce this problem: CLI/SDK 3.3.0.RC iOS Simulator 7.1 iPhone 4, iOS 7.1.1
Is this not going to be fixed for 3.3.0 or do I read that wrong? I have some apps breaking because of this :(
ye. Our engineer team will take care of this bug.
[~fokke] merge-3.3.0 is what you want to see.
[~ingo], what does *Fix Version/s: Release 3.4.0* mean then? Not complaining, just trying to see the logic ;)
[~fokke] We've branched titanium_mobile for 3.3.X. We initially commit all tickets to the master branch, which is now 3.4.0, but we then cherry-pick over to 3.3.X. Thus, the finished ticket will have two fix versions, 3.3.0 and 3.4.0. We may revise this process in the future as it has been known to cause confusion.
Is it because if you keep 3.3.0 as
master
then unstable code gets into the release?Yes, we want to only take into 3.3.0 what are blocker issues. If we didn't branch, then we'd block all other forward development.
Pull pending master - https://github.com/appcelerator/titanium_mobile/pull/5810 3_3_X - https://github.com/appcelerator/titanium_mobile/pull/5811
Verified fixed on: Mac OSX 10.9.3 Appcelerator Studio, build: 3.3.0.201406171619 Titanium SDK, build: 3.3.0.v20140619144008 Titanium CLI, build: 3.3.0-rc Alloy: 1.4.0-rc iOS Simulator: iPhone (7.1) iOS Device: iPhone 5S (7.1.1) Green view is clipped successfully on both Simulator and Device. Closing.