Community
Participate
Working Groups
I'll attach the screenshot with badly formed icons: https://bugs.eclipse.org/bugs/attachment.cgi?id=73086 During startup eclipse prints to stdout following warnings (and some other similar warnings): ** (Eclipse:6546): WARNING **: Couldn't load font "adobe-courier Bold 14" falling back to "Sans Bold 14" Eclipse SDK Version: 3.2.2 Build id: M20070212-1330 Output from xdpyinfo: name of display: <private host name>:54.0 version number: 11.0 vendor string: Citrix Systems Inc vendor release number: 57503 maximum request size: 4194300 bytes motion buffer size: 256 bitmap unit, bit order, padding: 32, MSBFirst, 32 image byte order: MSBFirst number of supported pixmap formats: 3 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 keycode range: minimum 8, maximum 207 focus: window 0x5000005, revert to PointerRoot number of extensions: 14 BIG-REQUESTS DOUBLE-BUFFER Extended-Visual-Information GLX MIT-SHM MIT-SUNDRY-NONSTANDARD RECORD SECURITY SGI-GLX SHAPE SYNC TOG-CUP XC-MISC XTEST default screen number: 0 number of screens: 1 screen #0: dimensions: 1272x959 pixels (323x244 millimeters) resolution: 100x100 dots per inch depths (1): 24 root window id: 0x26 depth of root window: 24 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x22 default number of colormap cells: 256 preallocated pixels: black 0, white 16777215 options: backing-store NO, save-unders NO largest cursor: 32x32 current input event mask: 0xda4031 KeyPressMask EnterWindowMask LeaveWindowMask KeymapStateMask StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask PropertyChangeMask ColormapChangeMask number of visuals: 1 default visual id: 0x23 visual: visual id: 0x23 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits I can not apply this patch, because I have not root rights http://sunsolve.sun.com/search/document.do?assetkey=1-21-115738-05-1 I need serious reasons to request IT Support to update OS. Unfortunatelly, I do not know how to check version of gtk... As I know there are several installations of gtk, but I don't know which version is used by eclipse (by default) Could you train me how to do this? So, I'll provide information about GTK.
+ see comments from TR 186236
Is this on Solaris 9? - I tentatively updated the Summary accordingly, please update if not correct. When I read bug 177949 comment 28 right, applying the Sun GNOME patch from http://sunsolve.sun.com/search/document.do?assetkey=1-21-115738-05-1 fixed the display of icons in 8bpp mode, but did not fix it in 24bpp mode. 24bpp mode was required to get the syntax highlighting right, so it looks like the user is still trapped with bad icons - looks like this is exactly this bug. I did not try out those steps myself though, so I'm just reporting what there is on the bugs -- running Eclipse in a local VNC server seemed to be a workaround according to bug 177949 comment 26. If you want to try switching to 8bpp mode for a test, see bug 177949 comment 28 or try it in an 8bpp VNC visual first.
Regarding GTK version, you can do this - shows the output on a standard Solaris 9 box, which has GTK 2.1.0 preinstalled (don't ask me how one would know this is actually version 2.1.0, it reports itself as 2.0.100): 479 mober@szg-anar~>pkginfo | grep -i gtk system SUNWGtkr GTK - The GIMP Toolkit (Root) system SUNWGtku GTK - The GIMP Toolkit (Usr) 480 mober@szg-anar~>pkginfo -l SUNWGtkr PKGINST: SUNWGtkr NAME: GTK - The GIMP Toolkit (Root) CATEGORY: system ARCH: sparc VERSION: 11.9.0,REV=2002.10.17.10.57 BASEDIR: / VENDOR: Sun Microsystems, Inc. DESC: GTK - The GIMP Toolkit (Root) PSTAMP: sfw-patch20021017110354 INSTDATE: Sep 15 2004 20:45 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 56 installed pathnames 1 shared pathnames 2 directories 36 blocks used (approx) According to bug 177949 comment 15, these Sun preinstalled GTK libs come in /usr/lib, but it could be that you also have a "Sunfreeware" version of GTK in /usr/local/lib. That one is reported to be seriously broken (bug 177949 comment 18); check its existence with ls /usr/local/lib/libgtk-*
(In reply to comment #2) >...the Sun GNOME patch from http://sunsolve.sun.com/search/document.do?assetkey=1-21-115738-05-1 fixed the display of icons in 8bpp mode, but did not fix it in 24bpp mode... martin oberhuber is absolutly right about that. on my system at least (sun blade 100, solaris 9 sparc, 1.5mb ram, local cde display, sun's gtk 2.1.0, etc.), that particular patch sorted out the icon issue but only if my local display was in 8bpp mode; changing to 24 bpp mode on my local cde display ruins the icons - even with the gnome patch.
Yes, it is Solaris 9. Information about GTK: pkginfo -l SUNWGtkr PKGINST: SUNWGtkr NAME: GTK - The GIMP Toolkit (Root) CATEGORY: system ARCH: sparc VERSION: 11.9.0,REV=2002.10.17.10.57 BASEDIR: / VENDOR: Sun Microsystems, Inc. DESC: GTK - The GIMP Toolkit (Root) PSTAMP: sfw-patch20021017110354 INSTDATE: Feb 06 2006 09:28 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 56 installed pathnames 1 shared pathnames 2 directories 36 blocks used (approx) pkginfo -l SUNWGtku PKGINST: SUNWGtku NAME: GTK - The GIMP Toolkit (Usr) CATEGORY: system ARCH: sparc VERSION: 11.9.0,REV=2002.10.17.10.57 BASEDIR: / VENDOR: Sun Microsystems, Inc. DESC: GTK - The GIMP Toolkit (Usr) PSTAMP: sfw-patch20021017110400 INSTDATE: Feb 06 2006 09:29 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 149 installed pathnames 8 shared pathnames 14 directories 5 executables 4366 blocks used (approx)
Re: comment 3 There are not gtk libs in /usr/local/lib/ directory: >ls /usr/local/lib/libgtk-* ls: No match.
Passing to SW for comment.
Hi, Are there any news about this problem? Has workaround been found for this problem? Maybe some information is required...
Unfortunately, we do not have access to a Solaris 9 box so I can't reproduce your case. Also, our current earliest supported GTK2 version is 2.2.0, what is on your machine? Does this bug persist in a more recent build of Eclipse?
Re: comment 3 Information about GTK: see my comment 5 Yes, it is reproducable with eclipse-platfrom-3.3.
Reproducable with Eclipse 3.4 and both Solaris 8 and 9. Possible workarounds: 1. Use CygwinX on Windows machine to run Eclipse on Solaris 8/9. 2. Login to Solaris 8/9 from a Linux KDE/GNOME machine. In both cases, the icons are OK.
A much newer version of GTK+ is now available from Blastwave: http://www.blastwave.org/packages.php/gtk2 I'm not yet sure whether it runs on Solaris 9 or only 10, but it might be worth a try... I won't be able to try this out myself, but I'd appreciate if anyone else has the time and could give feedback.
SWT no longer provides Solaris builds.