Bug 232497 - TVT34:TCT304: EMF-XSD - 10.001090 - NEW EMF PROJECT WIZARD - NEW EMF PROJECT - XML SCHEMA IMPORT/WINDOWS - Truncation
Summary: TVT34:TCT304: EMF-XSD - 10.001090 - NEW EMF PROJECT WIZARD - NEW EMF PROJECT ...
Status: CLOSED DUPLICATE of bug 16552
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Linux-GTK
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Dave Steinberg CLA
QA Contact:
URL: 304
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-16 09:46 EDT by CDE Administration CLA
Modified: 2008-06-11 09:39 EDT (History)
3 users (show)

See Also:


Attachments
EMG-XSD_10.001090_1.jpg (55.66 KB, image/jpeg)
2008-05-16 09:46 EDT, CDE Administration CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description CDE Administration CLA 2008-05-16 09:46:15 EDT
<response_by> Zoltan Mede at 2008.05.15.10.47.12 </response_by>
OS:  Linux
Build date: 0514
Component /Function name (eg. CDT, TPTP,etc) EMF-XSD
Blocking:  NO
Tester Name: Zolt?n Mede
Steps to recreate the problem:

1) Switch to the Java Perspective by going to Window -> Open Perspective -> Other and select Java (default)
2)Expand the models project. Right click library.xsd and select New > Project...
3) Expand the Eclipse Modeling Framework category, select EMF Project and click Next.
4) Name the project "library" and click Next.

Problem Description:

Text is trunctaded in the title of the panel

<response_by> John Ryding at 2008.05.16.00.35.02 </response_by>
This truncation is a locale specific bug and is located in the file:

eclipse/plugins/org.eclipse.xsd.ecore.importer/plugin.properties

_UI_XSDImportNewProject_description =

<response_by> John Ryding at 2008.05.16.00.37.09 </response_by>
This article was reassigned from Category:''TVT/Testing,Inbox''.
Comment 1 CDE Administration CLA 2008-05-16 09:46:22 EDT
Created attachment 100638 [details]
EMG-XSD_10.001090_1.jpg
Comment 2 CDE Administration CLA 2008-05-16 09:46:27 EDT
<cde:tctdetail>
Testcase: 10.001090
Project: WSW34
Component: Xfer - EMF/Edit
Priority: 3
Subject: EMF-XSD - 10.001090 - NEW EMF PROJECT WIZARD - NEW EMF PROJECT - XML SCHEMA IMPORT/WINDOWS - Truncation
Article ID: 304
Originator: zoltan.mede@hu.ibm.com
</cde:tctdetail>
Comment 3 Dave Steinberg CLA 2008-05-16 10:23:06 EDT
I don't think there's anything we can do about this.  We didn't write the code or the translation at issue here.

This WizardPage is a standard JFace component and it decides how to deal with long messages. Note that you can read the truncated portion of the message by clicking in the message area and dragging downwards (as if to select the text).

I'm going to close this bug as WORKSFORME, since I assume this behaviour was the intent of the JFace developers.  If this isn't good enough, then a bug should be opened against JFace, perhaps requesting a scrollbar be displayed or something.
Comment 4 CDE Administration CLA 2008-05-16 10:46:33 EDT
There is no indication to the user that there are more hidden text. Maybe we should at least provide something like "..." at the end?
Comment 5 Dave Steinberg CLA 2008-05-16 11:39:48 EDT
That's not something we could do, since we don't know how the description area will render the text we give it.  As I said, if this is a problem for us, it's just a manifestation of a problem that exists for everyone who uses the JFace WizardPage, and should be fixed there.
Comment 6 CDE Administration CLA 2008-05-16 17:47:11 EDT
<response_by> Zoltan Mede at 2008.05.16.16.35.18 </response_by>
Hello,
From your answer I don't understand correctly will anybody handle and solve this problem or not. Please let me know.
Thanks.
Zolt?n
Comment 7 Dave Steinberg CLA 2008-05-16 18:13:36 EDT
What I'm sayins that, unfortunately, the EMF development team has no way to solve this problem, short of abandoning the standard wizard provided by JFace and replacing it with our own.

The problem comes from two facts:

1. The JFace dialog we're using does not gracefully handle more than two lines.
2. Translating some of our messages into other languages expands their length.

We have no control over either of these facts.

The second can be addressed by the JFace team, so a bug against that component would be appropriate.  In fact, I searched and there is one that already exists: bug 16552.  This problem can be fixed only by addressing that bug.  Would it be better to mark this bug a duplicate of that one?
Comment 8 Kit Lo CLA 2008-05-16 19:02:30 EDT
Hi Dave, this is a dup of bug 16552. As the quote in comment 9 of bug 16552 said, we need some visual indicator to tell the user that there are more hidden text. Please mark this as a dup. Thanks!
Comment 9 Dave Steinberg CLA 2008-05-16 19:08:23 EDT
Reopening to make it a dup.
Comment 10 Dave Steinberg CLA 2008-05-16 19:09:00 EDT
As requested, marking this as a duplicate of bug 16552.

*** This bug has been marked as a duplicate of bug 16552 ***
Comment 11 CDE Administration CLA 2008-06-11 09:39:38 EDT
[Added by CDE: Updated by the CDE Bridge because the corresponding problem has moved out of the bridge domain]