Community
Participate
Working Groups
Junit test counters don't repaint their backgrounds properly on linux. Rest of the widget background color is "sand", the background behind the test counters is white. Not sure if this is a swt or jdt bug, move as appropriate. Small but annoying.
Could be SWT or an event queue problem since some widgets require a "active" event queue for repainting.
Is this a repaint/refresh problem, or do the labels always show up in a white background? The test counters are read only text fields, could it be that white is the standard background color for text fields on GTK?
They are always white as far as I can tell. Shouldn't they be label widgets as opposed to textareas (i have no clue what the swt equivalents are)? The white background really makes for a shoddy presentation on linux.
I did some poking around in the src, and indeed, swt Text objects are used for displaying the counters, additionally, background is never explicitly set on the Text objects. Would a solution be possible by just setting the bg color on the Text widget? Or should Labels be used instead see org.eclipse.jdt.internal.junit.CounterPanel.java line 60 or so
>Shouldn't they be label widgets as opposed to textareas they have to be text areas otherwise the UI isn't accessible, since you cannot tab to the counters. Will try setting the background.
yep, setting the background works.
*** Bug 71749 has been marked as a duplicate of this bug. ***
this is still an issue on osx. reopening.
Assigning to Andre to check whether this is a general SWT issue.
Read only text fields look wrong on Mac OS X. Moving to SWT.
*** This bug has been marked as a duplicate of 71765 ***