我在我的 Ubuntu 16.04 LTS 中安装了 Eclipse neon (4.6) 和 STS 3.8.0(基于 eclipse 4.6)。如随附的屏幕截图所示,所有工具提示的行为都不同。
然后,我根据this了解到和 this ,这是 gtk-3 的错误。
正如在给定线程中提到的,我安装了 gnome-color-picker,然后修复了工具提示问题。但这改变了许多其他应用程序中的工具提示,这并不是很理想。
然后我尝试在 eclipse.ini 文件中将 gtk 更改为 2,这导致缺少菜单图标和工具提示问题(这次是黑色背景和白色文本),如下所示。
--launcher.GTK_version
2
Is there any permanent fix for this? (other than using gnome-color-picker) Or, when can this issue be fixed in near future in Ubuntu?
P.S : Same issue is noticed in STS-3.8.0 which is based on eclipse 4.6(neon)
最佳答案
这是为您解决的问题。
This fixes Eclipse tooltip color without falling back to GTK2 and without affecting any other application.
该修复程序在脚本中捕获,可以访问 here .
该脚本会复制 Ambiance 主题,修改工具提示颜色,然后使用这个新主题为 eclipse 编写启动器。
看到这个Change GTK3 tooltip color only for Eclipse running in Ubuntu
检查此blog如果您选择使用 GTK2,请使用 method2 启用菜单图标。
关于java - Ubuntu 16.04 LTS 中的 Eclipse NEON 奇怪行为,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38597702/