Community
Participate
Working Groups
Hi, as far as I can see, the TreeColumn is not showing a "..." in case its width becomes smaller than its contents. In addition it is not showing a Tooltip with the Full Content either. I looked at Thunderbird, which supports this behaviour. I thought the Tree would behave similiar to the Table. Ben
Snippet showing the problem: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Tree tree = new Tree(shell, SWT.NONE); TreeColumn col = new TreeColumn(tree, SWT.NONE); new TreeItem(tree, SWT.NONE).setText("Hello World Hello World Hello World"); col.setWidth(50); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } Ben
Post 3.1.
Only the first column does not show the ellipsis. 2nd and later columns do end in "...". Tooltip hovers are missing for all columns, which makes e.g the Properties view fairly hard to use when labels are wider than the viewport.
*** Bug 117223 has been marked as a duplicate of this bug. ***
Is there a target milestone for this? I assume that it is known, but not yet noted here, that the Problems view is now missing tooltips for this reason as well.
I wasn't planning to do this for 3.2. CAn the problems view revert to using a table like it did for 3.1?
tod could you answer comment #6 ?
No - we have significant features that are using this tree.
Ok, but tree has similar functionality as table provided you don't create any children.
We are using a hierarchy so we need the Tree. It is not a TableTree we are using if that is the issue.
I'm using a tree with columns for Mylar's task list, and have had to work around this with a custom tooltip provider that opens up a new shell to show a tooltip. But there have been several reports filed about our custom tooltips not being consistent with the ones on regular tables and trees (that come from the OS I think). So I don't recommend this approach and hope the functionality does get considered for 3.2 and am voting for this bug.
The property sheet has the same problem. There are two columns in a property sheet, the name of the property and the value of the property. The property sheet is often narrow and tall. This causes the columns to narrow and the property names are often truncated. For these it is essential to have the full column item value displayed in the tooltip. Also it must be a tree because there are nested properties.
Same for the Error Log.
I'm voting for this bug too, Steve can you reconsider?
Created attachment 34877 [details] From Java Browsing Perspective Were any changes made for this because I have something weird happening? Attached is a picture from the Java Browsing Perspective of the Type View. I'm getting "..." when I shouldn't. Or this being done by JDT UI itself? The Eclipse build is I20060131-1200 on Windows
The widget in the screen shot is a table, not a tree. The bug you are seeing is likely bug 123466. If you are still seeing it in the latest (and I mean tonight's nightly build if we want any chance of fixing it for M5, reopen bug 123466. Even then, it's seems too late)
*** Bug 129517 has been marked as a duplicate of this bug. ***
Re-verified by Z for M6 (20063103), this problem still appears in M6, no (...) and no tooltip. It happens with and without the manifest.
Z, it's also not marked FIXED.
this item is on the polish list for 3.2, will it be fixed for 3.2?
(In reply to comment #20) > this item is on the polish list for 3.2, will it be fixed for 3.2? Polish? You must be kidding. This is a serious usability issue, especially because number of standard Eclipse views converted to table-tree widgets and now you can't see whole descriptions in any of those. Most critical ones are Problems and History view. Mylar plugin has the same trouble.
Some platforms don't have free hover help. Only the Windows table and tree with no columns does this. The other platforms must be unusable then. <g> I am looking into fixing this. I'll let you know when I have more.
Ok, I have a fix for the missing tooltips but not for the "...". I'm going to change the title of this bug report to reflect the fix and enter a new bug report for the unfixed part.
Fixed > 20060420
(In reply to comment #23) > Ok, I have a fix for the missing tooltips but not for the "...". I'm going to > change the title of this bug report to reflect the fix and enter a new bug > report for the unfixed part. Steve, what is the new bug number?
I haven't entered it yet ... I'm still typing in this one!
The new bug is bug #137772.
Cool, thanks! Works nice in N20060421-0010. [Setting target milestone to 3.2RC2.]