Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9527] iOS: Views - Activity indicator keeps spinning

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-06-15T10:27:37.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sRelease 2.1.0, Sprint 2012-12 API
ComponentsiOS
Labelsapi, qe-ios060112, regression
ReporterTamila Smolich
AssigneeVishal Duggal
Created2012-06-13T17:07:07.000+0000
Updated2012-06-18T14:45:22.000+0000

Description

Description: During KS testing I noticed, that after launching "Local URL" activity indicator keeps spinning. "Hide indicator" app event not being fired. It does not happen if running test case first time after app was installed.
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [DEBUG] Firing app event: show_indicator
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [INFO] IN SHOW INDICATOR
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [INFO] removeEventListener: a=1
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [DEBUG] log statement here
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [DEBUG] webview loaded: file:///var/mobile/Applications/2EFE8CC6-E69B-4C9B-A789-8E08B7A4A565/KitchenSink.app/examples/local_webview.html
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [DEBUG] Firing app event: image
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [INFO] RECEIVED PATH file://localhost/var/mobile/Applications/2EFE8CC6-E69B-4C9B-A789-8E08B7A4A565/Documents/apple_logo.jpg
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [DEBUG] New scheme: <NSMutableURLRequest file:///var/mobile/Applications/2EFE8CC6-E69B-4C9B-A789-8E08B7A4A565/KitchenSink.app/examples/local_webview.html>
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [INFO] before image
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [INFO] JSON injection: ["foo","bar"]
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [INFO] image [object HTMLImageElement]
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [DEBUG] Firing app event: show_indicator
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [INFO] IN SHOW INDICATOR
Jun 13 16:48:18 unknown UIKitApplication:com.appcelerator.titanium[0xbee8][6499] <Notice>: [INFO] removeEventListener: a=1
Regression, does not occur in 2.0.2. Steps to reproduce: 1. Run KitchenSink 2. Go to Base UI - Views - Web Views - Local URL 3. Press "back" button 4. Launch Local URL one more time Expected result: Activity indicator should appear and then disappear. Actual result: Activity indicator keeps spinning.

Comments

  1. Vishal Duggal 2012-06-14

    Regression caused by fix for TIMOB-9359
  2. Max Stepanov 2012-06-15

    PR merged https://github.com/appcelerator/titanium_mobile/pull/2396
  3. Michael Pettiford 2012-06-18

    Closing issue Tested with Ti Studio build 2.1.0.201206172244 Ti Mobile SDK2.1.0.v20120618134156 hash r00905cd0 OSX Lion 10.7.3 iPhone 4S OS 5.1 The expected behavior is shown

JSON Source