Apache OpenOffice (AOO) Bugzilla – Issue 73297
letter wizard does not start in localized interface
Last modified: 2014-03-09 13:37:15 UTC
I'll file this as followup to issue 59264, as mentioned issue as another subject. You can still use attachments from the issue: http://www.openoffice.org/nonav/issues/showattachment.cgi/41465/strace2 (this is snippet from strace output). In short - fallback to English does not work at least for Estonian and letter wizard and after attempt to start the wizard it is impossible to close root window (only kill works). The workaround is manually to rename installpath/share/template/et/wizard/letter/en-US to installpath/share/template/et/wizard/letter/et. It is not option for every user. I'll raise the prio for following reasons: - it is critical for release in at least one language, when the whole part of module does not work and freezes the suite - I'm not able to provide localized templates at moment (you should get fallback to work so or so)
TM->MSC: please have a look, thanks !
letter wizard is writer letter wizard is writer letter wizard is writer reassign to sba.
SBA->HI: Please proceed.
Reassigned to TV
This bug is not specific to Estonian: this happens with Finnish build of SRC680_m223 too (see issue #80585).
this bug should happen with every language not having localized letter templates because fallback to english does not work automatically.
Created attachment 47588 [details] Proposed patch
I think I found the problem: The code assumed that if for example directory /opt/openoffice.org2.3/share/template/fi is present, then it contains subdirectory wizard/letter/fi. The attached patch removes this assumption. It will instead list the contents of /opt/openoffice.org/share/template/fi/wizard/letter and add all subdirectories under it to vector allPaths. This seems to fix the problem for Finnish build. It should work for other languages too, but I have not tested this. I am not familiar with this code so the patch may be buggy. Note that some of the changes are just whitespace changes to make that particular block of code more readable.
In meantimes things are gone better, in m230 only wizard does not start, the root window closing works without killing it. When someone else can confirm this we could lower the priority to P4.
With OOo_SRC680_m230_LinuxX86_install_fi_deb.tar.gz from Pavel and Sun JRE root windows closing still fails for me after trying to use the letter wizard. So I think this should remain at P2 (or at least P3).
mba: as Letter Wizard is writer... ;-) Do you have a comment? Does the fallback to en-US work or no?
Can you please look into this issue? Thx!
Thank you for helping us with the correct assignment! And of course also thanks for the patch. I change the "Issue type" accordingly and will take care of it.
Oliver, please take over
Integrated into cws os109 I added another try/catch to survive also unavailable directories (share/template/<locale>/wizard/letter
to os: Pavel was so kind and made me a m240 Estonian build with os109 included, this works!
Reassigned for verification
Reassigned to HI.
.
Verified with cws os109 = Template will go back to en if lang not available.
Still ok in OOH680m6_9268
*** Issue 80585 has been marked as a duplicate of this issue. ***