Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326376 - Incorrect tooltips after reordering of movable tree columns
Summary: Incorrect tooltips after reordering of movable tree columns
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 358958 365695 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-28 03:20 EDT by stephan.urbanski CLA
Modified: 2020-05-02 19:35 EDT (History)
5 users (show)

See Also:


Attachments
Snippet to reproduce the error (2.13 KB, application/octet-stream)
2014-09-22 05:34 EDT, Manuel Steurer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description stephan.urbanski CLA 2010-09-28 03:20:25 EDT
Build Identifier: 20100917-0705

If a column in a tree is smaller than the text in the column, "automatic" tooltips are enabled. However, if the columns in the tree are swapped via drag&drop, the tooltip contains the text of the old column.

Reproducible: Always

Steps to Reproduce:
1. Open Java Perspective, Problems view
2. Resize resource column in problems view so the text in it won't fit.
3. Swap resource and path column.
4. hover over an entry in the resource column.
5. the wrong tooltip should be displayed
Comment 1 Markus Keller CLA 2012-08-08 08:18:30 EDT

*** This bug has been marked as a duplicate of bug 131182 ***
Comment 2 Manuel Steurer CLA 2014-02-20 07:13:37 EST
I don't think this is a duplicate of bug 131182.
This bug here is about SWT Tree and 131182 is about SWT Table, also the behaviour is different. In Table the tooltip is shown in another cell with the correct text for that cell. In Tree, you get a tooltip in the cell where the mouse is but with the wrong text.
Comment 3 Markus Keller CLA 2014-02-20 08:22:54 EST
Reopening. Bug 358958 has an SWT snippet.
Comment 4 Markus Keller CLA 2014-02-20 08:23:02 EST
*** Bug 358958 has been marked as a duplicate of this bug. ***
Comment 5 Markus Keller CLA 2014-02-20 08:23:09 EST
*** Bug 365695 has been marked as a duplicate of this bug. ***
Comment 6 Manuel Steurer CLA 2014-09-22 05:34:54 EDT
Created attachment 247269 [details]
Snippet to reproduce the error

I turned the method from Bug 358958 into a complete standalone snippet. To reproduce the error, switch column positions by dragging a header with the mouse, then reduce the size of the 2nd column so the text in the cells is not completely visible. Then hover over a cell with cut off text in the 2nd column to get a tooltip, which shows the text from the 1st column in the same row.
Comment 7 badii bayoudh CLA 2016-11-09 10:06:30 EST
I also reproduced the Problem with Eclipse 4.6.1 and Windows 7. The ToolTips are wrongly displayed if I reorder the columns of the Tree.

When is it planned to fix this Bug?
Comment 8 Eclipse Genie CLA 2020-05-02 19:35:58 EDT
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.