Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348059

Summary: All buttons have gray background
Product: [Eclipse Project] Platform Reporter: Stephan Herrmann <stephan.herrmann>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: akurtakov, gheorghe, pwebster
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
dark theme still not kosher none

Description Stephan Herrmann CLA 2011-06-02 07:16:32 EDT
This is on Kubuntu 11.04:

All buttons are drawn with a square gray background.
See attachment 196843 [details] (originally from bug 333965 comment 48).

I am not aware of any custom settings that might have caused this.

At a closer look this already happens with Eclipse 3.7, just, given the
overall grayish L&F it doesn't hurt so much. But with the white looks
of 4.1 this becomes a pain.
Comment 1 Stephan Herrmann CLA 2011-06-03 19:08:25 EDT
It seems the issue is caused by a specific widget style. The gray background
occurs when using this default KDE setting:

  Application Appearance : GTK+ Appearance : Widget style: oxygen-gtk

When I change this to "QtCurve" (not installed by default) the buttons
are correctly drawn with transparent background. Only during mouse-over
a button is raised and gets a gray background. This might be intended?

So using QtCurve is a viable workaround, but for Kubuntu oxygen-gtk is the
default and then Eclipse 4 looks broken.
Comment 2 Stephan Herrmann CLA 2012-12-10 11:51:43 EST
For more, recent trouble with the default KDE-gtk theme see
http://www.eclipse.org/forums/index.php/t/441187/

Also bug 367603 happens with that theme, only.
Too bad that's the default theme in KDE...

Should we put up warning signs for Kubuntu users that we recommend to
install qtcurve before running Eclipse? A special readme for linux platform?
Comment 3 Alexander Kurtakov CLA 2014-02-18 15:03:55 EST
How is this issue with Luna? Many things changes including the default gtk version which has theming so different.
Comment 4 Alexander Kurtakov CLA 2017-01-05 17:41:39 EST
Almost 3 years passed without reply. Closing. Please reopen if it still happens with supported version.
Comment 5 Stephan Herrmann CLA 2017-01-06 17:41:40 EST
Created attachment 266171 [details]
dark theme still not kosher

(In reply to Alexander Kurtakov from comment #4)
> Almost 3 years passed without reply. Closing. Please reopen if it still
> happens with supported version.

In normal use and with OS/KDE versions 5 years older than in the original report, things are mostly good in this regard. Only the dark theme still suffers from part of the same issue. In the attachment you can see that buttons in different locations have the same background, which does not adjust to the actual background of the container widget.

But seing that the "GTK" theme (with underlying "Breeze") does not exhibit this problem this may well be a bug in the dark theme itself.