| Summary: | Text setEditable(false) changes background color unexpectedly | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Elias Volanakis <elias> | ||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | christian.campo, eclipse.felipe | ||||||
| Version: | 3.6 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows Vista | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Elias Volanakis
Created attachment 171039 [details]
Snippet to reproduce issue
Created attachment 171051 [details]
Patch
Patch and test case. Please review for 2.0 / HEAD.
Sorry this patch was meant for Riena. (In reply to comment #0) > Expected: bg color remains unchanged. (if not fixable it should be documented) Visually the background did change from white to gray. Why do you think getBackground() should remain unchanged ? What are you trying to do and how this behaviour is causing you trouble ? Closing as won'f fix. I found it surprising because it is not documented and not consistent (i.e. it only happens when the bg color has not been set). What I'm trying to do: in Riena we manage the widget background color explicitly, depending on certain framework states. This unexpected change was messing that up. Anyway, since I've a workaround I'm ok with WONTFIX. |