Rendering of buttons with images in Eclipse Kepler is broken

前端 未结 2 553
刺人心
刺人心 2021-01-07 12:12

With Kepler, the buttons in the Console view are sometimes rendered like this:

\"enter

相关标签:
2条回答
  • 2021-01-07 12:40

    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.

    See for instance:

    • bug 348059:

    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:

    I, too, found some bugs which happen only with the gtk theme (oxygen-gtk to be precise), and switched to qtcurve long ago. No complaints from this front since then.

    • bug 367603:

    Kubuntu 11.10

    • works OK with 11.04
      Application Appearance : GTK+ Appearance : Widget style: oxygen-gtk
    • works OK with Raleigh (plain ugly) and QtCurve (not installed by default)

    However, the OP Aaron Digulla points out in the comments:

    SWT always relies on Gtk to load the theme (you can't select QtCurve in the appearance prefs page).

    Also note that you probably want the Gtk2 based theme for Eclipse (see the blog post "GNOME (et al): Rotting In Threes" for reasons).

    0 讨论(0)
  • 2021-01-07 12:48

    Various rendering bugs are discussed in this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=333965

    The solution is starting Eclipse with

    GDK_NATIVE_WINDOWS=1 ...path.to../eclipse.exe
    

    or

    export GDK_NATIVE_WINDOWS=1
    ...path.to../eclipse.exe
    
    0 讨论(0)
提交回复
热议问题