Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1247] Black screen after application resume

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-10-28T08:34:40.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy
Labels3.3.0.GA, TCSupportTriage, alloy, tabgroup
ReporterMalakhaltsev Petr
AssigneeMauro Parra-Miranda
Created2014-08-13T07:53:45.000+0000
Updated2016-03-08T07:37:38.000+0000

Description

I've created sample two-tabbed alloy application. Deployed it to the mobile with Android 4.0.4. Clicked the central button, waited for a while (run some different application), then clicked on the icon of my app and application just hung with a black screen. When I tried to press "back" button there was a message "application not responding".

Attachments

FileDateSize
log.txt2014-08-16T06:55:15.000+00007123

Comments

  1. Mauro Parra-Miranda 2014-08-15

    Hello! Are you able to reproduce this every time? Please get the Android Monitor and check the logs when this happening, so you can share them with us. Android Monitor: http://developer.android.com/tools/help/monitor.html You also need to enable debugging to your app: https://wiki.appcelerator.org/display/guides2/tiapp.xml+and+timodule.xml+Reference#tiapp.xmlandtimodule.xmlReference-Enablingthedebuggerbydefault Once you get that information, please reproduce the issue and share the log with us. Best Regards!
  2. Malakhaltsev Petr 2014-08-16

    Android monitor logs
  3. Malakhaltsev Petr 2014-08-16

    Hello Yes I'm able to reproduce this every time. Please find attached log file log.txt. Is it enough or should I log anything else? Best Regards, Petr
  4. Motiur Rahman 2014-09-04

    Hello, We have tested this issue with a sample test case and according to the reporter procedure. But we didn't not reproduce this issue as a bug. It works as expected.

    Testing Environment:

    Titanium SDK: 3.3.0.GA Titanium CLI: 3.3.0, Android SDK:4.2.2,4.3.0 galaxy s3 ,4.4.2 OS X Version: 10.9.4, Appcelerator Studio: 3.3.0

    Steps to Test:

    1. Create an Alloy project. 2. Paste this code in views, controllers,and styles folder. 4. Run this code with the testing environment.

    Test Code

       <Alloy>
       	<TabGroup>
       		<Tab title="Tab 1" icon="KS_nav_ui.png">
       			<Window title="Tab 1">
       				<Label>I am Window 1</Label>
       			</Window>
       		</Tab>
       		<Tab title="Tab 2" icon="KS_nav_views.png">
       			<Window title="Tab 2">
       				<Label>I am Window 2</Label>
       			</Window>
       		</Tab>
       	</TabGroup>
       </Alloy>
       
       $.index.open();
       
       "Window": {
       	backgroundColor: "#fff"
       },
       "Label": {
       	width: Ti.UI.SIZE,
       	height: Ti.UI.SIZE,
       	color: "#000",
       	font: {
       		fontSize: 20,
       		fontFamily: 'Helvetica Neue'
       	},
       	textAlign: 'center'
       } 
       
    Thanks.

JSON Source