| Summary: | Cannot change background color of dynamically created MessageConsole with setBackground() | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | arshan.dabirsiaghi |
| Component: | Debug | Assignee: | Platform-Debug-Inbox <platform-debug-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | arshan.dabirsiaghi, eclipse.felipe, pawel.1.piech, remy.suen |
| Version: | 4.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| URL: | http://i8jesus.com/stuff/misc/JyConsole.zip | ||
| Whiteboard: | |||
|
Description
arshan.dabirsiaghi
Here's a URL to the project. The project is intended to be a simple Jython shell that can be invoked from a custom TextEditor. To see the bug in action, perform the following steps: 1. Run the project as an Eclipse plugin 2. In the second Eclipse that was started, open up a new project and a new file, test.py with the Jython Editor (use Open With->Other->Jython Editor). 3. Hit Control-R within the text editor window or right click inside the editor and hit "Run Script". 4. Confirm that the new console background is not black, despite line 157 of JythonEditor.java: console.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_BLACK)); This was also verified independently on Cocoa 64-bit and Helios on Vista. Looks like the URL doesn't show up easily, so here it is. http://i8jesus.com/stuff/misc/JyConsole.zip Also happens on build ID 20100917-0705. I don't think this is a bug in SWT. Maybe in the Console, moving to the Debug Component (I believe they maintain the Console). I believe it's duplicate. *** This bug has been marked as a duplicate of bug 278529 *** |