{ "id": "166348", "key": "TIMOB-24443", "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": [ { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-03-05T20:17:28.000+0000", "created": "2017-02-28T08:55:40.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-05T20:17:28.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": "Given the width of the progressbar is not respected.\r\nIt is used the width of the \"message\" text as initial width and then is retained even if the text is updated with a longer one, making truncate the label displayed.\r\n\r\n{noformat}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar prog = Ti.UI.createProgressBar({\r\n\ttop: 50,\r\n width: 240,\r\n min: 0,\r\n max: 100,\r\n value: 0,\r\n color: '#FFFFFF',\r\n message: 'Progress Label'\r\n});\r\nwin.add(prog);\r\n\r\nvar vv = Ti.UI.createView({\r\n\twidth: 240,\r\n\ttop: 100,\r\n\theight: 10,\r\n\tbackgroundColor: \"#FFF\",\r\n});\r\nwin.add(vv);\r\n\r\nvar val = 0;\r\n\r\nwin.addEventListener('open', function()\r\n{\r\n\tsetInterval(function()\r\n\t{\r\n\t\tval++;\r\n\t\t\r\n\t\tvar lbl = 'Progress Label: ' + val + '%';\r\n\t\t\r\n\t\tprog.message = lbl;\r\n\t\tprog.value = val;\r\n\t\t\r\n\t}, 500);\r\n});\r\n\r\nwin.open();\r\n{noformat}\r\n", "attachment": [ { "id": "61732", "filename": "Schermata 2017-02-28 alle 09.43.04.png", "author": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "created": "2017-02-28T08:51:30.000+0000", "size": 40283, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows Phone: Progressbar not respect width and not resize", "creator": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "environment": "OS: Windows 10 Pro\r\nEmulator: Mobile Emulator 10.0.14393.0 720p 5 inch 1GB\r\nStudio: 4.8.0.201612050850\r\nappc 6.1.0\r\nTitanium SDK 6.1.0.v20170227120704", "closedSprints": [ { "id": 1106, "state": "closed", "name": "2019 Sprint 1", "startDate": "2018-12-31T19:39:58.070Z", "endDate": "2019-01-11T19:39:00.000Z", "completeDate": "2019-01-14T17:17:47.552Z", "originBoardId": 114 }, { "id": 1109, "state": "closed", "name": "2019 Sprint 3", "startDate": "2019-01-28T17:38:43.075Z", "endDate": "2019-02-09T17:38:00.000Z", "completeDate": "2019-02-08T21:37:29.498Z", "originBoardId": 114 }, { "id": 1118, "state": "closed", "name": "2019 Sprint 5", "startDate": "2019-02-24T18:36:06.435Z", "endDate": "2019-03-08T18:36:00.000Z", "completeDate": "2019-03-07T22:19:47.057Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "444951", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1342", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-01-03T05:09:39.000+0000", "updated": "2019-01-03T05:09:39.000+0000" }, { "id": "446490", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-04T14:13:07.000+0000", "updated": "2019-03-04T14:13:07.000+0000" }, { "id": "446522", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Merged to master.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-04T22:41:04.000+0000", "updated": "2019-03-04T22:41:04.000+0000" }, { "id": "446559", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix on SDK 8.1.0.v20190304181927. Progress bar works fine.closing.\r\n\r\n{code}\r\nName = Microsoft Windows 10 Pro\r\n Version = 10.0.17763\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 17034395648\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.1.0.v20190304181927\r\n SDK Path = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\8.1.0.v20190304181927\r\n Target Platform = windows\r\ndevice =Lumia 650 dula sim\r\nEmulator=mobile emulator10.0\r\n{code}\r\n", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-05T20:17:14.000+0000", "updated": "2019-03-05T20:17:14.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }