Community
Participate
Working Groups
Build Identifier: M20090917-0800 If you are using Ubuntu 9.10 or one version earlier with GTK (2.18.3), simply create a Tree with ILazyTreeContentProvider. The label provider class has the signature: class Foo extends LabelProvider implements ITableLabelProvider, IFontProvider, IColorProvider In the getColumnImage(), return image for the first column and image will not appear in the view. I do have the following environment variable set up: export GDK_NATIVE_WINDOWS="1" I have not tried it with Eclipse 3.6 SWT - but I do not think this problem is fixed looking at SWT bug fixes. This is a critical problem for us (because we ship RCP), but I will leave the priority as high. Reproducible: Always Steps to Reproduce: 1. Create a tree with ILazyTreeContentProvider 2. Return image for zeroth column in LabelProvider 3. Icon does not show up
I ran into this bug as well! (I think it's the same...) I can see it on both kubuntu 9.10, as well as on an old Fedora Core 8 (2 years old version of GTK). I have TreeViewer with ILazyTreeContentProvider. I have a parent element that shows the icons in the column with index 0, and children elements that show icons in columns with index 0, 1, 2 AND 3. Problem was, that for children elements, icons were showing ONLY in column 0. For some reason, the icons were not showing for children elements in the columns where parent element did NOT have a column. After tons of experimentation, I did a workaround by making parent element show blank (all transparent) images in columns 1, 2 and 3. Once I do that, the icons in children elements in those columns magically appear. Definitely a bug, but at least this gives you a workaround.
It has also been reported that on Windows this problem DID not appear in the first place. It was Linux-only problem.
Is this still reproducible?
Closing due to lack of response. Please file a new bug if the issue persists in 4.8 on GTK3.22.