Community
Participate
Working Groups
Build Identifier: 3.6.2 If a org.eclipse.ui.dialogs.FilteredTree instance is visible in a view when the workbench is started, the initial filter text in the filtered text is truncated at the left. For example, instead of "type filter text", the filter text reads "ype filter text". The problem only appears to occur when the view's width is small. The problem can be worked around by closing the view containing the filtered tree, or by selecting all the filter text from right to left. Reproducible: Always Steps to Reproduce: 1. Create an Eclipse view that displays a org.eclipse.ui.dialogs.FilteredTree. For example: ... public void createPartControl(Composite parent) { fFilteredTree = new FilteredTree(parent, SWT.FLAT|SWT.MULTI|SWT.H_SCROLL| SWT.V_SCROLL|SWT.FULL_SELECTION|SWT.BORDER, new PatternFilter(), false); } ... 2. Start Eclipse and open the view. 3. Re-size the view so that the view's width is as small as possible while still having the name of the view and the filter text visible. 4. Shutdown Eclipse. 5. Restart Eclipse - the filter text will be truncated on the left. For example, "ype filter text" instead of "type filter text".
Created attachment 206888 [details] Testcase Attached an Eclipse plugin named filteredtreetruncated in D363636.zip that can be used to recreate the problem.
I did not try your plug-in but tested with the 'Plug-in Registry' view on 3.6.2, 3.8 and 4.2 and it looks good there (Windows 7).
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.