I tried to build eclipse-sdk-2.1.3-r3 on a stable system with sun java 1.4.2 and with blackdown java 1.4.1 but both builds show the same problem:
the shortcut bar for switching perspectives on the left side of the window does not show up in the gtk version. It is there in the motif version.
There are no errors in the workspace/.metadata/.log file.
I have installed gtk+ 1.2.10-r11 and 2.4.1
N.B. I also tried jikes, but that build had even more severe issues (ClassNotFound exceptions).
Steps to Reproduce:
1. build eclipse-sdk
2. start up eclipse
Main window shows up but shortcut bar is missing.
Main window with all components shows up.
Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo-r3)
System uname: 2.4.25-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.15
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
FEATURES="autoaddcvs ccache sandbox"
USE="X alsa apm arts avi berkdb cdr crypt cups doc dvd encode esd foomaticdb
gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python
quicktime readline sdl slang spell ssl svga tcpd tetex tiff truetype x86 xml2
xmms xv zlib"
At first I thought that I had the same problem, but at a closer look to the
location, where the perspective bar should reside, one can see that in fact
the bar is visible but only one pixel wide. So I guess the bar is just hidden
by the other views. I can even click on the buttons (with verrry carefull
IIRC this problem appeared after the last update of gtk+ lib.
I suspect this is more an upstream problem that's related to the gtk+
version the program is compiled against.
Can you try compiling it against both gtk+-2.2 and 2.4, to see if there's
I tried it, compiling against gtk+-2.2 solves the problem.
For more information see this eclipse bug report and the ones marked as duplicates of it:
A change in Eclipse makes vertical toolbars work in M9 and later under Gtk+ 2.4. The problem did not occur with Gtk+ 2.2.
This is a known bug upstream, for which no patch currently exist. Unless
somebody comes up with one, I will not have the time to fix it.
As 3.0.0 is out (although not marked stable quite yet), and there exists
a not totally unreasonable workaround for gentoo currently, I'm closing this
bug as UPSTREAM, pending updates from the eclipse.org team.
If anybody objects, please reopen the bug with a patch attached, and I'll