{ "id": "173977", "key": "TIMOB-27306", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-05-15T18:24:49.000+0000", "created": "2019-08-05T13:41:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "engSchedule", "parity" ], "versions": [ { "id": "20060", "description": "", "name": "Release 7.0.2", "archived": false, "released": true, "releaseDate": "2018-02-09" }, { "id": "20791", "name": "Release 8.0.2", "archived": false, "released": true, "releaseDate": "2019-06-18" } ], "issuelinks": [], "assignee": null, "updated": "2020-05-15T18:24:55.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Hello!\r\nCallback of tableview scroll function not getting the content size and contentoffset in UWP application. It works as expected in android and iOS. \r\nI 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\r\n\r\n*Test Project*: TestUWP.zip\r\nSteps to reproduce:\r\n1. Import attached project.\r\n2. Build with sdk 8.0.2.GA or 7.0.2.GA on Windows 10 uwp apps on Windows Desktop\r\n3. Check the log.\r\n{code}\r\n[INFO] : \b\b \b Click\r\n[INFO] : \b\b \b width = 1024\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b height = 721.5999755859375\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] constructor = [object class TitaniumWindows::UI::TableView]\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b headerTitleId = Sample Table View\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b rowHeight = 0\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b headerTitle =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b search = null\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b headerView = null\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b maxRowHeight = 0\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] data = [object class Titanium::UI::TableViewSection]\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b separatorColor =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b sectionCount = 1\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b footerView = null\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b filterAttribute =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b minRowHeight = 0\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b filterCaseInsensitive = true\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b allowsSelectionDuringEditing = false\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b allowsSelection = true\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] sections = [object class Titanium::UI::TableViewSection]\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b filterAnchored = false\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b footerTitle =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] rect = [object CallbackObject]\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b left =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] backgroundGradient = [object CallbackObject]\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b keepScreenOn = false\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b bottom = 15dp\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b pullBackgroundColor =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b accessibilityLabel =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b backgroundLeftCap = 5e-324\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b backgroundFocusedImage =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b borderWidth = 0\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b borderColor =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b backgroundFocusedColor =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b backgroundSelectedImage =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b borderRadius = 0\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b accessibilityValue =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b backgroundColor =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b horizontalWrap = true\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b accessibilityHint =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b viewShadowColor =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b backgroundSelectedColor =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b viewShadowRadius = 5e-324\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] size = [object CallbackObject]\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b width = 100%\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] animatedCenter = [object CallbackObject]\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] anchorPoint = [object CallbackObject]\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b touchEnabled = true\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b backgroundDisabledColor =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b accessibilityHidden = false\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b tintColor =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b backgroundDisabledImage =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b backgroundTopCap = -7.341218231282964e+125\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b transform = null\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b right =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b visible = true\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b opacity = 1\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b overrideCurrentAnimation = true\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b softKeyboardOnFocus = 131074\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b backgroundImage =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] center = [object CallbackObject]\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b top = 50dp\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b height =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b layout =\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b focusable = true\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b clipMode = 131074\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b zIndex = 2085626670\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b backgroundRepeat = true\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] viewShadowOffset = [object CallbackObject]\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b lifecycleContainer = null\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b bubbleParent = true\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b apiName = Ti.UI.TableView\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b 0 = s\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b 1 = c\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b 2 = r\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b 3 = o\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b 4 = l\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b 5 = l\r\n[INFO] : \b\b \b ************************************************\r\n[INFO] : \b\b \b searchedResult count 41\r\n \t\r\n{code}\r\n\r\nTest Environment :\r\n{code}\r\nOperating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.17134\r\n Architecture = 32bit\r\n # CPUs = 4\r\n Memory = 17091956736\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version = 8.0.2.GA\r\n SDK Path = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\8.0.2.GA\r\n Target Platform = windows\r\n{code}\r\n\r\nThanks ", "attachment": [ { "id": "66803", "filename": "TestUWP.zip", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2019-08-05T13:38:44.000+0000", "size": 758382, "mimeType": "application/zip" } ], "flagged": false, "summary": "Windows: callback of tableview scroll function not getting the content size and contentoffset in UWP application", "creator": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "subtasks": [], "reporter": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "environment": "UWP application", "closedSprints": [ { "id": 1170, "state": "closed", "name": "2019 Sprint 23", "startDate": "2019-11-04T18:38:14.526Z", "endDate": "2019-11-17T18:38:00.000Z", "completeDate": "2019-11-18T16:38:18.423Z", "originBoardId": 114 }, { "id": 1172, "state": "closed", "name": "2019 Sprint 25", "startDate": "2019-12-02T23:08:39.644Z", "endDate": "2019-12-15T23:08:00.000Z", "completeDate": "2019-12-16T05:54:54.518Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "450814", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1422", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-08-26T04:11:45.000+0000", "updated": "2019-08-26T04:11:45.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }