Community
Participate
Working Groups
<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''.
Created attachment 100638 [details] EMG-XSD_10.001090_1.jpg
<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>
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.
There is no indication to the user that there are more hidden text. Maybe we should at least provide something like "..." at the end?
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.
<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
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?
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!
Reopening to make it a dup.
As requested, marking this as a duplicate of bug 16552. *** This bug has been marked as a duplicate of bug 16552 ***
[Added by CDE: Updated by the CDE Bridge because the corresponding problem has moved out of the bridge domain]