[jbosstools-issues] [JBoss JIRA] (JBIDE-18298) Application. Embed wizard: Text cannot be read (black background) on RHEL6

Andre Dietisheim (JIRA) issues at jboss.org
Fri Sep 12 07:58:19 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-18298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001815#comment-13001815 ] 

Andre Dietisheim commented on JBIDE-18298:
------------------------------------------

I am using StyledText since StyledText is the only widget where line wrapping and scrollbars work without flaws. StyledText has a white background by default, I thus have to set the background color to the default background color. Unfortunately in MacOS groups have a different background color than the default:

!macos-groups-background.png!

I thus try to make the StyledText transparent rather than set them a fixed background color: JBIDE-16913. 
When doing this I then hit this bug here that only exists for RHEL 6.5 apparently. 
I'll thus do the following:

{code}
if (Platform.getWS() == Platform.WS_GTK) {
	// RHEL 6.5 cannot display transparent pixels in images (neither png, gif, bmp, etc.)
	styledText.setBackgroundImage(OpenShiftImages.TRANSPARENT_PIXEL_IMG);
} else {
	styledText.setBackground(styledText.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND));		
}
{code} 

> Application. Embed wizard: Text cannot be read (black background) on RHEL6
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-18298
>                 URL: https://issues.jboss.org/browse/JBIDE-18298
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.2.0.CR1
>         Environment: RHEL 6
> Java 1.7
>            Reporter: Len DiMaggio
>            Assignee: Andre Dietisheim
>            Priority: Critical
>              Labels: respin-b
>             Fix For: 4.2.0.CR1
>
>         Attachments: application-configuration-wizard-page.png, application-template-wizard-page.png, black-background-details-selected.png, black-background-in-details.png, Screenshot-1.png, Screenshot.png
>
>
> See the attached screenshots - some text boxes cannot be read as the background and text are both dark.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list