Community
Participate
Eclipse IDE
Half of the XSD feature description cannot be displayed. TVT tester marked this as must fix. OS : RHEL 3.0 Must fix Severity ( 1 thru 4, 1 as most severe): 2 Build date: 0809 Blocking: No Language: JPN Bitmap Location: Z:\defects\JPN\FeatureXML_JPN.jpg Tester Name: Hiroshi Inoue Problem Description: Descriptions for XML Schema Info Model (XSD) is truncated. Steps: 1. From Menu, select Help. 2. Select About Eclipse SDK. 3. Click on the Feature Detailes button. 4. Select the XML Schema Infoset Model (XSD).
Created attachment 26005 [details] screen capture
Hi Kit, EMF contributed the org.eclipse.xsd feature. Please route this bug over to them. Thanks.
This could be an Eclipse Platform bug where they did not render the UI correctly.
Jeff, this problem also occurs in the English version (truncation). Please see screen capture. Can this bug be fixed for this TVT ?
Sorry, this bugs should be re-routed to the EMF/XSD team.
Created attachment 26135 [details] xsd.bmp
Cam, All EMF does is provide an about.properties in the org.eclipse.xsd plugin to define this property: featureText=XML Schema Infoset Model (XSD)\n\ Version: {featureVersion}\n\ Build id: {0}\n\ \n\ (c) Copyright Eclipse contributors and others. 2002, 2005. All rights reserved.\n\ \n\ The XSD Infoset Model is a reference library for manipulating the\n\ components of an XML Schema as described by the W3C XML Schema\n\ specifications.\n\ Visit http://www.eclipse.org/xsd As such, the truncation is beyond our control. I've assigned this to the platform for lack of better knowledge of the component that does the rendering. On windows, at least, the full text is rendered if the window is resized slightly, so this doesn't strike me as a must fix problem. Even without the resizing workaround, this strikes me as a trivial problem that doesn't interfer with the proper functioning of the system in any way...
Moving to platform ui as they are responsible for this dialog.
Created attachment 26216 [details] AboutFeaturesDialog.java patch Patch to show all content.
Checked the patch on Linux-GTK in lowest resolution and on Win2K. All text appeared without re-sizing.
Created attachment 26223 [details] XSD1 Karice, the patch is still not working well for us. This is the screen capture when we select the XSD feature. We can only see the first line without resizing. This is happening on Windows XP, RHEL 3.1, and RHEL 4.0.
Created attachment 26224 [details] XSD2 After resizing the dialog a little bit wider, then we can see the rest of the lines.
Hmm, I tested using English text. I guess I will have to try using the Japanese text.
Can someone supply the Japanese text that is appearing?
Hmm, in Cam's comment #4 she says the problem also occurs in English, which is probably why I used English text to test the patch. Did you use the lowest supported resolution (1280x768) on WindowsXP when you tested the patch? I think I tested on Windows not in the lower resolution, but I did use the low resolution on Linux.
It happened on my 1400x1050 Windows XP machine, and 1024x768 RHEL 3.1 and 4.0 machines.
Kit, do you get the same result in English using the patch?
I just tried, same problem for English on all 3 machines (need to resize a liitle to see all lines).
Created attachment 26268 [details] pic of dialog after applying patch I just tried the patch on WinXP and I see all the text without resizing the dialog. Since I don't have the XSD plugins I just changed the text of one of the SDK features (PDE) and tested it that way.
Kit we are having trouble getting the XSD feature to show up in the features dialog. Can you let us know how you are setting this up please?
Here are the steps to to recreate the problem using EMF (smaller and easier): - download and extract Eclipse M20050824-1200 - download and extract EMF http://fullmoon.rtp.raleigh.ibm.com/tools/emf/scripts/downloads-viewer.php? s=2.1.1/M200508110300 - start Eclipse in English on WinXP English version (resolution=1280x1024) - select Help>About Eclipse SDK - click "Feature Details" button - select feature id "org.eclipse.emf" - only first line of description "EMF is a ... and other" is displayed - resize window a little wider - the second and third line "application based on ... Visit http://..." is displayed This bug is not marked as TVT must-fix. I'm lowering severity to normal. But, please try to address this in 3.2.
I followed the steps and with the patch I see all the text of the org.eclipse.emf feature. If I roll out the patch and use the old code, I don't see all the text. I think the patch is ok.
Is the patch in Eclipse M20050824-1200?
No, we didn't release the patch because in comment #11 you said you applied it and it didn't work. So we wanted to test it with the exact case you were using. Now that we are using your exact test case and it works, I think we can go ahead and release the patch.
Doug, can you check this patch? It is in Comment #9.
Cross-tested on MacOS X and Linux GTK+. It works on both platforms. Would you like this applied to the 3.1.1 stream as well? As it stands right now, "org.eclipse.platform" is not displaying an Apache copyright notice. With the patch, the Apache copyright notice appears.
I'm going to apply this patch to both the 3.1.1 stream and 3.2 stream. The patch is low risk, and I feel displaying copyright information is pretty important. ;)
Applying the fix for 3.1.1 is fine. I take it the copyright notice is a separate issue that you found?
Verified in 3.1.1 RC2 and using EMF SDO SDK 0908
closing verified bug