Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 123466

Summary: [Viewers] Strange dots in table item labels
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: SWTAssignee: Steve Northover <snorthov>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: Beatriz_Iaderoza, bokowski, eclipse, markus.kell.r, n.a.edgar, snorthov, Tod_Creasey, veronika_irvine
Version: 3.2   
Target Milestone: 3.2 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
test workspace
none
picture 1
none
picture 2 none

Description Dani Megert CLA 2006-01-11 12:06:51 EST
I20060110-1026

I can no longer click some elements in the Packages view and suddenly the label gets corrupted into: "org.ec...".

Test Case:
1. start attached workspace
2. select project 'Foo' in the Package Explorer
3. select 'org.eclipse.jface.text' in the Packages view
3. expand 'Foo' in the Package Explorer
4. select 'src'
==> strange label "org.ec...".

This works with I200605-0800 plus JDT's build input for I20060110-1026
Comment 1 Dani Megert CLA 2006-01-11 12:14:38 EST
Created attachment 32846 [details]
test workspace
Comment 2 Kim Horne CLA 2006-01-13 08:41:12 EST
This used to happen back in the 3.0 days (bug 56593) when we explicitly set the font on a particular item...
Comment 3 Boris Bokowski CLA 2006-01-13 09:14:44 EST
Moving to SWT since this looks like a regression at the SWT level. I did not change anything related to labels recently.
Comment 4 Dani Megert CLA 2006-01-13 09:19:50 EST
Boris, I saw that a new LableDecorator got added with I20060110-1026. I don't know the details about it but thought it might be related.
Comment 5 Boris Bokowski CLA 2006-01-13 09:44:33 EST
Tod, could it be that this was caused by the patch from bug 121623?
Comment 6 Tod Creasey CLA 2006-01-13 10:08:27 EST
No I wouldn't think so - bug 121623 is just a way of passing context but it doesn't change how decoration is done
Comment 7 Dani Megert CLA 2006-01-24 06:19:32 EST
Any update on this one?
Comment 8 Dani Megert CLA 2006-01-31 05:45:19 EST
ping.
Comment 9 Beatriz Iaderoza CLA 2006-01-31 13:54:04 EST
Would you be able to send me a screenshot of the bug? I opened your workspace with the latest built (20060118-1600) and I don't get the strange label problem you do. 
Thanks.
Comment 10 Dani Megert CLA 2006-02-01 04:11:08 EST
>Would you be able to send me a screenshot of the bug? I opened your workspace
>with the latest built (20060118-1600)
Sure, but as far as I know the latest build is I20060131-1200.

Here my steps again:
1. download Eclipse SDK build I20060131-1200 for WindowsXP
2. extract the attached workspace to c:\
3. start eclipse using -data c:\tmp
   ==> picture 1
4. execute step 2 to 4 from comment 0
   ==> picture 2
Comment 11 Dani Megert CLA 2006-02-01 04:11:48 EST
Created attachment 33926 [details]
picture 1
Comment 12 Dani Megert CLA 2006-02-01 04:12:14 EST
Created attachment 33927 [details]
picture 2
Comment 13 Beatriz Iaderoza CLA 2006-02-01 15:00:54 EST
Thanks for the screenshots. You were right, the labels are appearing strange. It seems to be modifying the name that was last selected before clicking on another view. 
Note: Also tested with Version: 3.1.1, Build id: M20050929-0840 and the bug is not present.
Comment 14 Dani Megert CLA 2006-02-02 02:27:34 EST
>Note: Also tested with Version: 3.1.1, Build id: M20050929-0840 and the bug is
>not present.
Mmh, I never said it didn't work there, did I? I first saw the bug in I20060110-1026, as indicated in comment 0.

Once the dots appear I often can't select the top item any longer.
Comment 15 Beatriz Iaderoza CLA 2006-02-02 09:16:35 EST
No you did not, we usually add comments to the bug to save time for the person that is fixing it.
Comment 16 Markus Keller CLA 2006-02-03 10:47:46 EST
*** Bug 124850 has been marked as a duplicate of this bug. ***
Comment 17 Markus Keller CLA 2006-02-03 12:03:54 EST
We already had something like that in bug 54057, which has probably been solved by the fix for bug 57426. Could it be that the support for background images has a similarly adverse effect as the support for fonts had?
Comment 18 Steve Northover CLA 2006-02-03 13:13:03 EST
Yes, there have been many changes since 3.1.x.
Comment 19 Steve Northover CLA 2006-02-15 00:23:46 EST
I have a handle on this one.  It was caused by the fix for bug 117700.
Comment 20 Steve Northover CLA 2006-02-15 22:48:48 EST
Actually, it turned out to be caused by the fix for bug 119207.
Comment 21 Steve Northover CLA 2006-02-15 22:53:42 EST
Fixed > 20060215

VI, we should consider this for M5.
Comment 22 Veronika Irvine CLA 2006-02-16 11:32:09 EST
*** Bug 127838 has been marked as a duplicate of this bug. ***
Comment 23 Dani Megert CLA 2006-02-20 11:09:32 EST
Verified in 3.2 M5 (I20060217-1115).