[TIMOB-19126] Windows: Blue console output invisible in blue PowerShell window
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-08-07T17:13:23.000+0000 |
Affected Version/s | Release 4.1.0 |
Fix Version/s | Release 5.0.0 |
Components | Windows |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Christopher Williams |
Created | 2015-07-01T09:40:15.000+0000 |
Updated | 2015-09-08T23:30:04.000+0000 |
Description
The following example and attached screenshots show that the blue
[DEBUG]
prefix is invisible against the blue PowerShell background. Even selecting the text has no effect (because both invert to the same color). Copy and pasting the console output does show the text is there.
var win = Ti.UI.createWindow();
var btn = Ti.UI.createButton({
title: 'Click',
color: 'red'
});
btn.addEventListener('click', function(e) {
Ti.API.info('hello Ti.API.info');
Ti.API.debug('hello Ti.API.debug');
console.info('hello console.info');
});
win.add(btn);
win.open();
Copied logs:
-- Start application log -----------------------------------------------------
[INFO] Finished launching the application
[INFO] Waiting for app to connect to log relay
[INFO] hello Ti.API.info
[DEBUG] hello Ti.API.debug
[INFO] hello console.info
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2015-07-01 at 11.33.28.png | 2015-07-01T09:40:12.000+0000 | 10677 |
Screen Shot 2015-07-01 at 11.33.46.png | 2015-07-01T09:40:12.000+0000 | 12258 |
https://github.com/appcelerator/titanium/pull/228
Verified using: Windows 8.1 Appc CLI Core: 5.0.0-41 Appc CLI NPM: 4.2.0-1 Titanium SDK :5.0.0.v20150906220721 Nokia Lumia 930 8.1 Logging from the app when running from powershell is now output with white text Closing ticket
Verified the fix. Closing. Environment: Appc Studio: 4.3.0.201509031836 Ti SDK: 5.0.0.v20150908120435 Ti CLI: 5.0.1 Alloy: 1.7.6 Windows: 8.1 Enterprise 64-bit APPC NPM: 4.2.0-1 APPC CLI: 5.0.0-45 Node : v0.10.37 Device: Nokia Lumia 928 - Windows Phone 8.1 Windows emulator : 8.1