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

Windows: callback of tableview scroll function not getting the content size and contentoffset in UWP application

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Won't Do
    • Affects Version/s: Release 7.0.2, Release 8.0.2
    • Fix Version/s: None
    • Component/s: Windows
    • Environment:

      UWP application

    • Story Points:
      8
    • Sprint:
      2019 Sprint 23, 2019 Sprint 25

      Description

      Hello!
      Callback of tableview scroll function not getting the content size and contentoffset in UWP application. It works as expected in android and iOS.
      I have implemented custom tableview using createTableView. I have attached scroll event to tableview. but callback of scroll function not getting the content size and contentoffset

      Test Project: TestUWP.zip
      Steps to reproduce:
      1. Import attached project.
      2. Build with sdk 8.0.2.GA or 7.0.2.GA on Windows 10 uwp apps on Windows Desktop
      3. Check the log.

      [INFO] :   Click
      [INFO] :   width = 1024
      [INFO] :   ************************************************
      [INFO] :   height = 721.5999755859375
      [INFO] :   ************************************************
      [INFO] constructor = [object class TitaniumWindows::UI::TableView]
      [INFO] :   ************************************************
      [INFO] :   headerTitleId = Sample Table View
      [INFO] :   ************************************************
      [INFO] :   rowHeight = 0
      [INFO] :   ************************************************
      [INFO] :   headerTitle =
      [INFO] :   ************************************************
      [INFO] :   search = null
      [INFO] :   ************************************************
      [INFO] :   headerView = null
      [INFO] :   ************************************************
      [INFO] :   maxRowHeight = 0
      [INFO] :   ************************************************
      [INFO] data = [object class Titanium::UI::TableViewSection]
      [INFO] :   ************************************************
      [INFO] :   separatorColor =
      [INFO] :   ************************************************
      [INFO] :   sectionCount = 1
      [INFO] :   ************************************************
      [INFO] :   footerView = null
      [INFO] :   ************************************************
      [INFO] :   filterAttribute =
      [INFO] :   ************************************************
      [INFO] :   minRowHeight = 0
      [INFO] :   ************************************************
      [INFO] :   filterCaseInsensitive = true
      [INFO] :   ************************************************
      [INFO] :   allowsSelectionDuringEditing = false
      [INFO] :   ************************************************
      [INFO] :   allowsSelection = true
      [INFO] :   ************************************************
      [INFO] sections = [object class Titanium::UI::TableViewSection]
      [INFO] :   ************************************************
      [INFO] :   filterAnchored = false
      [INFO] :   ************************************************
      [INFO] :   footerTitle =
      [INFO] :   ************************************************
      [INFO] rect = [object CallbackObject]
      [INFO] :   ************************************************
      [INFO] :   left =
      [INFO] :   ************************************************
      [INFO] backgroundGradient = [object CallbackObject]
      [INFO] :   ************************************************
      [INFO] :   keepScreenOn = false
      [INFO] :   ************************************************
      [INFO] :   bottom = 15dp
      [INFO] :   ************************************************
      [INFO] :   pullBackgroundColor =
      [INFO] :   ************************************************
      [INFO] :   accessibilityLabel =
      [INFO] :   ************************************************
      [INFO] :   backgroundLeftCap = 5e-324
      [INFO] :   ************************************************
      [INFO] :   backgroundFocusedImage =
      [INFO] :   ************************************************
      [INFO] :   borderWidth = 0
      [INFO] :   ************************************************
      [INFO] :   borderColor =
      [INFO] :   ************************************************
      [INFO] :   backgroundFocusedColor =
      [INFO] :   ************************************************
      [INFO] :   backgroundSelectedImage =
      [INFO] :   ************************************************
      [INFO] :   borderRadius = 0
      [INFO] :   ************************************************
      [INFO] :   accessibilityValue =
      [INFO] :   ************************************************
      [INFO] :   backgroundColor =
      [INFO] :   ************************************************
      [INFO] :   horizontalWrap = true
      [INFO] :   ************************************************
      [INFO] :   accessibilityHint =
      [INFO] :   ************************************************
      [INFO] :   viewShadowColor =
      [INFO] :   ************************************************
      [INFO] :   backgroundSelectedColor =
      [INFO] :   ************************************************
      [INFO] :   viewShadowRadius = 5e-324
      [INFO] :   ************************************************
      [INFO] size = [object CallbackObject]
      [INFO] :   ************************************************
      [INFO] :   width = 100%
      [INFO] :   ************************************************
      [INFO] animatedCenter = [object CallbackObject]
      [INFO] :   ************************************************
      [INFO] anchorPoint = [object CallbackObject]
      [INFO] :   ************************************************
      [INFO] :   touchEnabled = true
      [INFO] :   ************************************************
      [INFO] :   backgroundDisabledColor =
      [INFO] :   ************************************************
      [INFO] :   accessibilityHidden = false
      [INFO] :   ************************************************
      [INFO] :   tintColor =
      [INFO] :   ************************************************
      [INFO] :   backgroundDisabledImage =
      [INFO] :   ************************************************
      [INFO] :   backgroundTopCap = -7.341218231282964e+125
      [INFO] :   ************************************************
      [INFO] :   transform = null
      [INFO] :   ************************************************
      [INFO] :   right =
      [INFO] :   ************************************************
      [INFO] :   visible = true
      [INFO] :   ************************************************
      [INFO] :   opacity = 1
      [INFO] :   ************************************************
      [INFO] :   overrideCurrentAnimation = true
      [INFO] :   ************************************************
      [INFO] :   softKeyboardOnFocus = 131074
      [INFO] :   ************************************************
      [INFO] :   backgroundImage =
      [INFO] :   ************************************************
      [INFO] center = [object CallbackObject]
      [INFO] :   ************************************************
      [INFO] :   top = 50dp
      [INFO] :   ************************************************
      [INFO] :   height =
      [INFO] :   ************************************************
      [INFO] :   layout =
      [INFO] :   ************************************************
      [INFO] :   focusable = true
      [INFO] :   ************************************************
      [INFO] :   clipMode = 131074
      [INFO] :   ************************************************
      [INFO] :   zIndex = 2085626670
      [INFO] :   ************************************************
      [INFO] :   backgroundRepeat = true
      [INFO] :   ************************************************
      [INFO] viewShadowOffset = [object CallbackObject]
      [INFO] :   ************************************************
      [INFO] :   lifecycleContainer = null
      [INFO] :   ************************************************
      [INFO] :   bubbleParent = true
      [INFO] :   ************************************************
      [INFO] :   apiName = Ti.UI.TableView
      [INFO] :   ************************************************
      [INFO] :   0 = s
      [INFO] :   ************************************************
      [INFO] :   1 = c
      [INFO] :   ************************************************
      [INFO] :   2 = r
      [INFO] :   ************************************************
      [INFO] :   3 = o
      [INFO] :   ************************************************
      [INFO] :   4 = l
      [INFO] :   ************************************************
      [INFO] :   5 = l
      [INFO] :   ************************************************
      [INFO] :   searchedResult count  41
       	
      

      Test Environment :

      Operating System
        Name                        = Microsoft Windows 10 Pro
        Version                     = 10.0.17134
        Architecture                = 32bit
        # CPUs                      = 4
        Memory                      = 17091956736
      Node.js
        Node.js Version             = 8.9.1
        npm Version                 = 5.5.1
      Titanium CLI
        CLI Version                 = 5.1.1
      Titanium SDK
        SDK Version                 = 8.0.2.GA
        SDK Path                    = C:\ProgramData\Titanium\mobilesdk\win32\8.0.2.GA
        Target Platform             = windows
      

      Thanks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aislam Aminul Islam (Inactive)
                Reviewer:
                Gary Mathews
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration