Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-9527

iOS: Views - Activity indicator keeps spinning

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 2.1.0
    • Component/s: iOS
    • Environment:

      Titanium Studio, build: 2.1.0.201206121914
      Titanium SDK: 2.1.0.v20120613112251
      Device: iPhone 4S (5.0.1)

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                tsmolich Tamila Smolich
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-13681
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration