-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.3.1_03
-
sparc
-
solaris_9
Build level: 1.3.1_03 b02
locale: zh(all locales)
OS: solaris 9
reproduce:
1) in l10n testcase 4.12, run "sh unix.sh"
2) in the last one: Toolkit.getPrintJob() dialog, when click the cursor of "printer" and the printer list doesn't list the correct printer which is setup as system printer. In my testing environment, the printer is "orange", but, in the printer list, the printer is "pr-cbjs03-03" which is the server name of the printer: orange.
See the attached file: printdialog.tar.
3) We checked the sun.awt.print.AwtPrintControl and can see, because we have made localization and changed the sequence of the words, the cut function cannot get the correct string for printer name. If we add env LC_ALL=C before running all commands in sun.awt.print.AwtPrintControl to make sure the "cut" action can get the correct string for printname, we can get the correct printer list for the testing.
locale: zh(all locales)
OS: solaris 9
reproduce:
1) in l10n testcase 4.12, run "sh unix.sh"
2) in the last one: Toolkit.getPrintJob() dialog, when click the cursor of "printer" and the printer list doesn't list the correct printer which is setup as system printer. In my testing environment, the printer is "orange", but, in the printer list, the printer is "pr-cbjs03-03" which is the server name of the printer: orange.
See the attached file: printdialog.tar.
3) We checked the sun.awt.print.AwtPrintControl and can see, because we have made localization and changed the sequence of the words, the cut function cannot get the correct string for printer name. If we add env LC_ALL=C before running all commands in sun.awt.print.AwtPrintControl to make sure the "cut" action can get the correct string for printname, we can get the correct printer list for the testing.