在Eclipse中开普勒图像按钮呈现被打破 [英] Rendering of buttons with images in Eclipse Kepler is broken
问题描述
通过开普勒,在控制台视图中的按钮有时会呈现这样的:
With Kepler, the buttons in the Console view are sometimes rendered like this:
当它应该是这样的:
在按钮上移动一次鼠标解决了这个问题。任何想法,这可能是造成这?
Moving once over the buttons with the mouse fixes the problem. Any idea what could be causing this?
版本:
- 的Eclipse Kelper SR1(20130919-0819)
- 的Linux的Kubuntu 13.04铆足了劲
- libgtk2.0斌:2.24.17-0ubuntu2
推荐答案
考虑到与Kubuntu的看到的各种问题,知道氧GTK是默认的,你可以考虑检查问题是否存在时的switching到QtCurve 。
Considering the various issues seen with Kubuntu, knowing that oxygen-gtk is the default, you could consider checking if the problem persists when switching to QtCurve.
请参阅例如:
- 错误348059 :
- bug 348059:
当我改变为QtCurve(默认不安装)按钮都正确地透明背景绘制。仅在鼠标按钮上方抬起,并得到一个灰色背景。
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 thread:
- 错误367603 :
- bug 367603:
- 工程确定与11.04结果
申请外观:GTK +外观:控件样式:氧GTK - 适用于罗利(难看)和QtCurve(默认不安装) OK
我也发现了一些错误,这些错误只能用GTK主题发生(氧GTK
是precise),并切换到 qtcurve
很久以前。从这个前面没有投诉至今。
I, too, found some bugs which happen only with the gtk theme (
oxygen-gtk
to be precise), and switched toqtcurve
long ago. No complaints from this front since then.
Kubuntu的11.10
Kubuntu 11.10
不过, OP亚伦Digulla 指出<一个href=\"http://stackoverflow.com/questions/20283035/rendering-of-buttons-with-images-in-eclipse-kepler-is-broken/22698114#comment34823905_22698114\">in该评论:
SWT总是依赖于GTK来加载主题(你不能在外观上preFS页选择QtCurve)。
SWT always relies on Gtk to load the theme (you can't select QtCurve in the appearance prefs page).
另外请注意,你可能要为Eclipse基于Gtk2的视觉主题(请参阅博客文章的 GNOME(等):腐烂三五成群的原因)
Also note that you probably want the Gtk2 based theme for Eclipse (see the blog post "GNOME (et al): Rotting In Threes" for reasons).
这篇关于在Eclipse中开普勒图像按钮呈现被打破的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!