[TIMOB-738] opening a window in app.js is animated, while no animation is set since 1.2.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.3.0 |
Components | iOS |
Labels | animation, ios, iphone |
Reporter | Christian Sigl |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:35:26.000+0000 |
Updated | 2011-04-17T01:54:05.000+0000 |
Description
bug is described here: https://developer.appcelerator.com/question/12361/in-12-sdk-opening-a-window-with-the-contained-view-will-animate-the-view"> https://developer.appcelerator.com/question/12361/in-12-sdk-opening...
this code should display the described bug too:
// CREATE MAIN WINDOW
Titanium.UI.setBackgroundColor('#363636');
var startupWindow = Titanium.UI.createWindow({
backgroundColor: '#fff',
top: 0,
left: 0
});
var startupView = Titanium.UI.createImageView({
url: 'Default.png'
});
startupWindow.add(startupView);
var heartView = Ti.UI.createView({
top: 80,
left: 30,
width: 265,
height: 240,
backgroundColor: 'transparent'
});
startupView.add(heartView);
var linkView = Ti.UI.createView({
top: 370,
left: 30,
width: 265,
height: 20,
backgroundColor: 'transparent'
});
startupView.add(linkView);
startupWindow.open();
running on head, i cannot reproduce the above code or the original code pasted in the original post.
Never mind, I was able to reproduce it now.
would it help, if i send you the complete project? maybe it somehow depends on the "Default.png" i'm using for the splash-screen
OK - this seems to be related to Orientation Changes that were fixed in 1.2.
OK - this seems to be related to Orientation Changes that were fixed in 1.2.
(from [1d06fb3c5d9b1da6af254f730521c5a2d2b52701]) -[#738 state:resolved] fixed problem with initial premature animation on initial window -fixed 3.1 build issue http://github.com/appcelerator/titanium_mobile/commit/1d06fb3c5d9b1da6af254f730521c5a2d2b52701"> http://github.com/appcelerator/titanium_mobile/commit/1d06fb3c5d9b1...
could you please point me to information how to compile the current git-source on osx, as i need this patch to be able to submit my app. thanx for fixing this bug that fast, you are doing a great job with titanium mobile!
You'll need the following to build:
Then run from terminal:
After you build (assuming successful), will place zip file in dist folder.
Unzip that file into your /Library/Application Support/Titanium
i had succees in building it. maybe you should add this to the docs of titanium mobile in the developer section of your website
thanx for your support!!!