Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328985 - Host name was chopped off on the connection properties page
Summary: Host name was chopped off on the connection properties page
Status: CLOSED DUPLICATE of bug 277618
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dsdp.tm.rse-inbox CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-28 17:10 EDT by Samuel Wu CLA
Modified: 2010-11-09 11:08 EST (History)
2 users (show)

See Also:


Attachments
screenshot (76.09 KB, image/jpeg)
2010-10-28 17:14 EDT, Samuel Wu CLA
no flags Details
screenshot of dialog on my machine (48.05 KB, image/gif)
2010-11-01 14:15 EDT, David McKnight CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Wu CLA 2010-10-28 17:10:15 EDT
Build Identifier: RSE 3.2.1

The display of the host name on the properties page of a connection doesn't start from the first character.

Reproducible: Always

Steps to Reproduce:
1. Open the properties page of a connection whose name contains domain information
2. Switch to the Host tab
3. The first a couple letters of the host name were not visible
4. You need to select the host name and move the cursor to the left to see the first letters
Comment 1 Samuel Wu CLA 2010-10-28 17:14:09 EDT
Created attachment 182000 [details]
screenshot
Comment 2 David McKnight CLA 2010-11-01 14:15:20 EDT
Created attachment 182166 [details]
screenshot of dialog on my machine

I don't see this problem on my machine.
Comment 3 Samuel Wu CLA 2010-11-02 09:31:42 EDT
We can reproduce this problem on all our machines. We can show you without a problem.
Comment 4 David McKnight CLA 2010-11-05 11:58:32 EDT
(In reply to comment #3)
> We can reproduce this problem on all our machines.

I've tried this with several drivers but I still can't reproduce it.  Which windows are you on?  Are you able to reproduce it with just Open RSE (i.e. outside of your product)?
Comment 5 Samuel Wu CLA 2010-11-05 12:23:10 EDT
It can be reproduced with Eclipse+RSE outside our product. On both windows XP and Vista
Comment 6 David McKnight CLA 2010-11-05 15:57:11 EDT
On a machine where this could be reproduced, I created a new folder with a long filename and, via the Windows Explorer, opened up it's Properties dialog to reproduce the same problem.  Therefore this is not specifically and RSE or Eclipse problem.
Comment 7 Samuel Wu CLA 2010-11-05 16:06:54 EDT
I understand that the name will be partially displayed if the control is not big enough to display the whole string. 
But the problem we reported is a different case. There is still plenty room in the field but the host name is partially displayed.
Comment 8 Uwe Stieber CLA 2010-11-08 12:54:22 EST
This is a weird but known issue with SWT/JFace. Under unknown circumstances, it seems that the text if drawn inside the box before the control expanded to it's full size. We have this very often and in almost any kind of dialog. The issue is not RSE specific. Not sure if there is an bugzilla for this, I haven't had time to search for it.
Comment 9 Martin Oberhuber CLA 2010-11-09 06:03:20 EST
Can we try to narrow this down:

 - Problem is that the text inside the combo is shifted too far to the left
 - It happens only on Windows
 - It happens only in combo boxes

Correct thus far? - Dave, could you attach a screenshot of the issue you've seen in the properties dialog of Windows Explorer?

Samuel, in your screenshot I notice that you seem to have the "Windows 2000 style" desktop - your Window minimize/resize/close buttons are not XP style. This could be related to the issue, although (as Uwe mentions) I have also seen similar problems on other controls on Windows XP style too.
Comment 10 Martin Oberhuber CLA 2010-11-09 06:07:04 EST
It actually looks like this is a duplicate of bug 277618.
Comment 11 Martin Oberhuber CLA 2010-11-09 06:13:08 EST
Samuel and Dave, what is your respective host Eclipse? Looking at bug 277618, it seems like the issue was OK in Eclipse 3.4.1 then failed in 3.5, was fixed in 3.6 but reappeared in 3.6.1
Comment 12 David McKnight CLA 2010-11-09 08:17:44 EST
(In reply to comment #11)
> Samuel and Dave, what is your respective host Eclipse? Looking at bug 277618,
> it seems like the issue was OK in Eclipse 3.4.1 then failed in 3.5, was fixed
> in 3.6 but reappeared in 3.6.1

I've been trying this on 3.6.  I haven't tried on 3.6.1 yet.
Comment 13 Samuel Wu CLA 2010-11-09 09:32:07 EST
We have not seen this problem in the switch-workspace scenario as described in bug 277618 yet, neither eclipse 3.6.0+ RSE 3.2.0 nor Eclipse 3.6.1 + RSE 3.2.1.

The only problem we noticed so far was the host field. We can reproduce it only with 3.6.1+ RSE 3.2.1. Tried 3.6.0 +RSE 3.2.1 and 3.6.0+RSE 3.2.0 and failed to reproduce the problem.

Is there anything special with this combo? The other combos work fine. Wonder whether something special in the combo hits some boundary condition.
Comment 14 Martin Oberhuber CLA 2010-11-09 11:08:23 EST
I do not think anything is special to the combo, since others have seen the same problem in other places. Maybe it's a race condition of some sort since it's so hard to reproduce.

Anyways, looks like evidence is pretty clear that this is in fact a duplicate of bug 277618 since you see it on 3.6.1 but not on 3.6 - let's hope a fix gets into 3.6.2.

*** This bug has been marked as a duplicate of bug 277618 ***