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

iOS: Events on images inside ListViewItem templates not fired (regression)

    Details

    • Story Points:
      8
    • Sprint:
      2016 Sprint 20 SDK

      Description

      I think I found an issue on images inside ListViewItem templates, the event did not fire if we have "image" property.
      Works just fine on 5.2.X and 5.3.X, but not on 5.4.GA and 5.5.GA.
      Actually is very irregular.

      Not fire the event: (with "image=""" property)

      <ItemTemplate id="template" name="template">
        <ImageView bindId="imageGrid" id="imageGrid" image="2313275.jpg" onClick="Test" />
        </ItemTemplate>
      

      Fired normally! (without "image=""" property)

       <ImageView bindId="imageGrid" id="imageGrid" onClick="Test" />
      

      Also seams if I put "run-on-main-thread TRUE", the event fires normally too, but I can't do that in our project.

      <property name="run-on-main-thread" type="bool">true</property>
      

      In our project is comment out, like:

       <!--<property name="run-on-main-thread" type="bool">true</property>-->
      

      P.S. In our case we have 3 events, which they worked acceptably well on the 5.2.x and 5.3.x sdk.
      We have this issues since the 5.4.GA, but just yesterday is that I've isolated the problem in detail.

       <ImageView bindId="imageGrid" id="imageGrid" onDoubletap="flip" onLongpress="doShowBtns" onSingletap="doTap" />
      
      

      There is any workaround until the fix? We need to release the app

        Attachments

        1. 2313275.jpg
          2313275.jpg
          42 kB
        2. index.js
          0.3 kB
        3. index.tss
          0.5 kB
        4. index.xml
          0.4 kB
        5. TIMOB-23973_used_images.zip
          85 kB

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                nunocostapt Nuno Costa
                Reviewer:
                Chee Kiat Ng (Inactive)
                Tester:
                Josh Longton
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code