Community
Participate
Working Groups
<response_by> Moravia IT at 2008.05.13.15.22.38 </response_by> A truncation, this time a serious one. OS: Linux only, on Windows it is ok Build date: 0512 Component/Function name: File Base Menu Blocking: NO Tester Name: Kamil Ignacak Steps to recreate the problem: 1. From main menu select File -> New -> Java Project 2. Double click on Java Project 3. Verify the panel below is correctly translated Problem description: Translation of string "Configure default..." is truncated. Full translation is "Konfiguruj warto?? d&omy?ln?...", last word is not displayed. (NewJavaProjectWizardPageOne_LayoutGroup_link_description) Resizing the window doesn't help. Attaching screenshot for reference. Kamil Ignacak <response_by> John Ryding at 2008.05.13.16.38.25 </response_by> The string is verified to be externalized in an English mock build. This string become truncated when translated in different languages. <response_by> John Ryding at 2008.05.13.16.43.35 </response_by> This article was reassigned from Category:''TVT/Testing,Inbox''.
Created attachment 100065 [details] 02.000000_PLK_0512.jpg
<cde:tctdetail> Testcase: File Base Menu/02.000000 Project: WSW34 Component: Xfer - JDT/UI Priority: 2 Subject: PLK: truncation in New Java Project wizard Article ID: 228 Originator: tctbroadcast@pl.moraviaworldwide.com </cde:tctdetail>
I can't reproduce this with a longer English string. I guess it has to do with the characters used for the new string. Can you attach a the new property file to the bug?
(The property file can just contain the new string)
<response_by> Moravia IT at 2008.05.14.07.10.03 </response_by> Here it is. No chkpii errors, utf-8 encoding. Kamil
Created attachment 100153 [details] NewWizardMessages.properties
Moving to SWT as this seems to be a Linux problem.
compute size of link works for me with the plk text testcase public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); Link link = new Link (shell, SWT.NONE); link.setText("<a>Konfiguruj wartość d&omyślną...</a>"); link.setLocation(30, 30); link.pack(); shell.setSize(620, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } ---- What version of GTK are you running ?
gtk version: 2.10.4-19.el5
Should fix for 3.4 (potential dups: bug 232834 and bug 232854).
This is a bug in pango I believe (already fixed in newer releases). I can reproduce the problem only on RedHat Enterprise Linux 5 GTK 2.10.4 Pango 1.14.9 Cairo 1.2.4 I have tried several combination of these libraries and it only happen on Pango 1.14.x. Can you try to upgrade the machine ?
*** Bug 232199 has been marked as a duplicate of this bug. ***
*** Bug 232590 has been marked as a duplicate of this bug. ***
*** Bug 232854 has been marked as a duplicate of this bug. ***
*** Bug 232834 has been marked as a duplicate of this bug. ***
*** Bug 232183 has been marked as a duplicate of this bug. ***
*** Bug 232448 has been marked as a duplicate of this bug. ***
*** Bug 232103 has been marked as a duplicate of this bug. ***
*** Bug 232327 has been marked as a duplicate of this bug. ***
*** Bug 234265 has been marked as a duplicate of this bug. ***
<response_by> Moravia IT at 2008.05.27.07.56.16 </response_by> The string (link) looks ok on Linux machine with upgraded Pango library and build 0526. Thanks, closing. Kamil
(In reply to comment #21) > The string (link) looks ok on Linux machine with upgraded Pango library and > build 0526. Thank you for testing. Can you describe the process you used to update your libraries ? Did you use the standard Redhat update ? What is version that you are running now ? - Maybe this should be added to the release notes somewhere -
closing as not Eclipse.
I tried to reproduce this on an x86 RHEL 5.1 machine. I have pango-1.14.9-3.el5.i386 installed. I used the following snippet (hopefully the text shows up correctly here ... it's the literal string and not unicode #s or anything like that) built and run like so: javac -cp eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.2.1.v3235.jar PangoTest.java java -cp eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.2.1.v3235.jar:. PangoTest I see the full label. import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Link; import org.eclipse.swt.widgets.Shell; public class PangoTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); Link link = new Link (shell, SWT.NONE); link.setText("<a>Konfiguruj wartość domyślną</a>"); link.setLocation(30, 30); link.pack(); shell.setSize(620, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
Resolved as "NON_ECLIPSE". Closing.