Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19126] Windows: Blue console output invisible in blue PowerShell window

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2015-08-07T17:13:23.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 5.0.0
ComponentsWindows
Labelsn/a
ReporterFokke Zandbergen
AssigneeChristopher Williams
Created2015-07-01T09:40:15.000+0000
Updated2015-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

FileDateSize
Screen Shot 2015-07-01 at 11.33.28.png2015-07-01T09:40:12.000+000010677
Screen Shot 2015-07-01 at 11.33.46.png2015-07-01T09:40:12.000+000012258

Comments

  1. Christopher Williams 2015-07-29

    https://github.com/appcelerator/titanium/pull/228
  2. Ewan Harris 2015-09-08

    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
  3. Lokesh Choudhary 2015-09-08

    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

JSON Source