Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348059 - All buttons have gray background
Summary: All buttons have gray background
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.1   Edit
Hardware: PC Linux-GTK
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-02 07:16 EDT by Stephan Herrmann CLA
Modified: 2017-01-06 17:41 EST (History)
3 users (show)

See Also:


Attachments
dark theme still not kosher (27.33 KB, image/png)
2017-01-06 17:41 EST, Stephan Herrmann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.