Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27306] Windows: callback of tableview scroll function not getting the content size and contentoffset in UWP application

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionWon't Do
Resolution Date2020-05-15T18:24:49.000+0000
Affected Version/sRelease 7.0.2, Release 8.0.2
Fix Version/sn/a
ComponentsWindows
LabelsengSchedule, parity
ReporterAminul Islam
AssigneeUnknown
Created2019-08-05T13:41:34.000+0000
Updated2020-05-15T18:24:55.000+0000

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

FileDateSize
TestUWP.zip2019-08-05T13:38:44.000+0000758382

Comments

  1. Kota Iguchi 2019-08-26

    https://github.com/appcelerator/titanium_mobile_windows/pull/1422

JSON Source