Community
Participate
Working Groups
Build Identifier: I20110620-1631 CTabFolder.showList() ignores custom renderers set through CTabFolder.setRenderer() CTabFolder.showList() calls CTabItem.getText() when creating menu item, yet getText() may return an empty string when the CTabItem-s are rendered using a custom renderer Reproducible: Always Steps to Reproduce: 1.Create a Java class R that derives from CTabFolderRenderer 2.Have R.computeSize() call super.computeSize(...) by just forwarding all received arguments. super.computeSize(...) will return a Point object. Add 50 to the "x" field of that returned Point and return the modified Point. This will allocate enough space for custom rendering in each CTabItem 3.Have R.draw() paint something in the allocated space above 4.Create a CTabFolder object TF then call TF.setRenderer(...) passing an object of type R as parameter 5.Add at least two CTabItem objects to TF above and call setText("") on each of them 6.Open a shell containing the TF object 7.Shrink the composite containing TF until the chevron icon shows up 8.Click on the chevron and see that the popup menu contains only empty items
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.