{ "id": "174495", "key": "TIMOB-27638", "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": "20972", "description": "", "name": "Release 8.3.1", "archived": false, "released": true, "releaseDate": "2020-01-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-01-14T18:39:03.000+0000", "created": "2019-11-27T12:43:23.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "engSchedule", "windows" ], "versions": [ { "id": "20884", "name": "Release 8.2.1", "archived": false, "released": true, "releaseDate": "2019-10-25" } ], "issuelinks": [ { "id": "57977", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "174508", "key": "TIMOB-27640", "fields": { "summary": "Windows: unit specifier for fontSize should be ignored ", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "58552", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175322", "key": "TIMOB-28022", "fields": { "summary": "Ti.UI.Window Test Suite: Titanium.UI.Window Acceptance TIMOB-27638", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } }, { "id": "57975", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174508", "key": "TIMOB-27640", "fields": { "summary": "Windows: unit specifier for fontSize should be ignored ", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-07-16T05:07:33.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": "Hi , \r\n\r\nI have upgraded the titanium SDK 7.0.2.GA to 8.2.1 GA in Windows Desktop application. After upgrade the application font becomes smaller than the previous. Also font changes happen in all pages in the application \r\nFind below tiapp.xml details:\r\ndp\r\ntrue \r\n\r\n false\r\n false\r\n false\r\n true\r\n \r\n 8.2.1.GA\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n10.0.16299.0\r\n 10.0.14393.0\r\n \r\n\r\nCan you please provide the reason for smaller font and how to fix ", "attachment": [], "flagged": false, "summary": "Windows app fonts become small when titanium sdk version changed from 7.0.2.GA to 8.2.1 GA", "creator": { "name": "shishir.roy", "key": "shishir.roy", "displayName": "shishir.roy", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shishir.roy", "key": "shishir.roy", "displayName": "shishir.roy", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "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 }, { "id": 1175, "state": "closed", "name": "2019 Sprint 26", "startDate": "2019-12-16T06:12:12.044Z", "endDate": "2019-12-21T06:12:00.000Z", "completeDate": "2019-12-22T03:07:15.802Z", "originBoardId": 114 }, { "id": 1176, "state": "closed", "name": "2020 Sprint 1", "startDate": "2020-01-02T21:15:56.301Z", "endDate": "2020-01-17T21:15:00.000Z", "completeDate": "2020-01-21T17:44:29.577Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "452940", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-11-28T07:39:49.000+0000", "updated": "2019-11-28T07:39:49.000+0000" }, { "id": "452941", "author": { "name": "shishir.roy", "key": "shishir.roy", "displayName": "shishir.roy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have added the property tag explicity in tiapp.xml \r\npx\r\n\r\nBut still same result font was smaller, anything else i have to to \r\n\r\nAlso i have created a sample application with dp with 8.2.1.GA but here font are render fine in application.\r\n\r\nLet me know any other changes required", "updateAuthor": { "name": "shishir.roy", "key": "shishir.roy", "displayName": "shishir.roy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-28T09:52:07.000+0000", "updated": "2019-11-28T09:52:07.000+0000" }, { "id": "452956", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~shishir.roy] Could you provide sample program that reproduce the issue? Could you also provide more environmental information (output from {{ti info -o json}}) which would be so appreciated. Did the font become smaller when you run it under older versions such as Titanium 7.5.2.GA and 8.0.0.GA? ", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-12-02T03:47:36.000+0000", "updated": "2019-12-02T03:47:36.000+0000" }, { "id": "453017", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I found that font size becomes smaller when you specify unit specifier such as {{dp}} explicitly for {{fontSize}} property. I think this is a parity issue...Label should ignore unit specifier in order to keep consistency between iOS. Created TIMOB-27640 to track this. For a workaround you might want to remove unit specifier from {{fontSize}}.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'green',\r\n layout: 'vertical',\r\n title: 'Label Demo'\r\n});\r\n\r\nvar label1 = Ti.UI.createLabel({\r\n color: '#900',\r\n font: { fontSize: '48dp' },\r\n text: 'A simple label',\r\n top: 30,\r\n width: Ti.UI.SIZE, height: Ti.UI.SIZE\r\n});\r\n\r\nvar label2 = Ti.UI.createLabel({\r\n color: '#900',\r\n font: { fontSize: 48 },\r\n text: 'A simple label',\r\n width: Ti.UI.SIZE, height: Ti.UI.SIZE\r\n});\r\n\r\nwin.add(label1);\r\nwin.add(label2);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-12-04T04:14:42.000+0000", "updated": "2019-12-04T04:14:42.000+0000" }, { "id": "453079", "author": { "name": "shishir.roy", "key": "shishir.roy", "displayName": "shishir.roy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is it fixed in any version of SDK. Because it is very difficult to change every place in the code. So please provide some appropriate solution. ", "updateAuthor": { "name": "shishir.roy", "key": "shishir.roy", "displayName": "shishir.roy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-12-07T06:08:25.000+0000", "updated": "2019-12-07T06:08:25.000+0000" }, { "id": "453080", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I already made a fix PR for TIMOB-27640. It is in review now and it is scheduled to be merged in next release (9.0.0).", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-12-07T09:59:56.000+0000", "updated": "2019-12-07T09:59:56.000+0000" }, { "id": "453082", "author": { "name": "shishir.roy", "key": "shishir.roy", "displayName": "shishir.roy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "But you have any release 9 with GA? I have not seen in download section. If not can you please provide the estimated date of release 9 with GA", "updateAuthor": { "name": "shishir.roy", "key": "shishir.roy", "displayName": "shishir.roy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-12-09T03:18:17.000+0000", "updated": "2019-12-09T03:18:17.000+0000" }, { "id": "453110", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I actually don't know much about the official release date...I would suggest consulting with sales or support guys", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-12-09T23:27:22.000+0000", "updated": "2019-12-09T23:27:22.000+0000" }, { "id": "453190", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1440", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-12-14T03:11:55.000+0000", "updated": "2019-12-14T03:11:55.000+0000" }, { "id": "453623", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "8_3_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1445", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-10T00:44:14.000+0000", "updated": "2020-01-10T00:44:14.000+0000" }, { "id": "453673", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed for 8_3_X. Waiting on Jenkins build. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-13T19:20:42.000+0000", "updated": "2020-01-13T19:20:42.000+0000" }, { "id": "453703", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Merged to 8_3_X for 8.3.1 release", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-01-14T18:39:03.000+0000", "updated": "2020-01-14T18:39:03.000+0000" }, { "id": "453722", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 8.3.1.v20200115102433.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-15T18:51:12.000+0000", "updated": "2020-01-15T18:51:12.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }