Apache OpenOffice (AOO) Bugzilla – Issue 105386
HELP search broken after installation of language pack
Last modified: 2009-11-25 13:27:19 UTC
with "Ooo Dev 3.2.0 multilingual version German UI WIN XP: [DEV300m60 (Build 9425)]" , same Version English UI activated and "Ooo Dev 3.2.0 multilingual version English UI WIN XP: [DEV300m59 (Build 9424)]", same version German UI activated. Steps to reproduce: 0. Install OOo-Dev_DEV300_m60_Win32Intel_install_en-US.exe 1. Start OOo-Dev 2. Click menu 'Help' 3. change to BASE HELP 4. Cart "Find", insert "dBASE", <Find> expected: several Items should be found actual: as expected 5. close OOo. 10. Install OOo-Dev_DEV300_m60_Win32Intel_langpack_de.exe (I had m59 installed with several language packs) 11. Start OOo-Dev 12. Click menu 'Help' 3. change to BASE HELP 14. Cart "Find", insert "dBASE", <Find> expected: several Items should be found actual: Message "No Topics found" additional experiments: 15. <ok> in Message 16. Press link "Using Databases in OOo-dev Base" you will see a "dBASE" string highlighted, what might mean that something has been found Search is completely broken, not only for "dBASE" Uninstalling DE language pack will NOT restore Help search function I will check whether that only happens with DE language pack, soon
Uninstall of m60 and reinstallation of OOo-Dev_DEV300_m60_Win32Intel_install_en-US.exe did not heal the problem, after reinstallation search function still was broken. I will do further tests later, I leave off work for today ;-)
I had to uninstall Language pack and OOo3.2 AND to delete user data to restore HELP search. The problem also appears if I install OOo-Dev_DEV300_m60_Win32Intel_langpack_fr.exe in step 10
I confirm the problem under Ubuntu 8.04 with Dev300_m60 + langpack FR. If I remove my .ooo-dev config directory and restart OOo-dev, it starts in French and search in help works well. If I turn OOo-dev in English and restart it, search in help does not work anymore (no result for "dbase" in "OOo-dev Base"). Regards JBF
@ ufi: I can reproduce this problem also. You're the one to fix it? I would suggest this as a 3.2 stopper.
-->ab: your issue?
Needs evaluation, STARTED
Evaluation showed that there is no need to install a language pack. My steps to reproduce: 0. Install DEV300 m60 OOo 1. First start, creates user installation 2. Deactivate and exit quickstarter 3. Close OOo 4. Start OOo 5. Open help (e.g. F1), writer help is default 6. On the find tab search for "text" 7. No topics found If you remove the user installation, go back to back to 1. and then con- tinue with 5. + 6. it works. As soon as OOo has been closed once (really closed including quickstarter) the problem occurs. I assume the language pack installation just forces such a real exit.
So if you start the Help Viewer with the Find tab page open, find does not work. If you start with the Index tab page open, then switch to Find tab page, find will work.
ab->ufi: I can't confirm this. Also switching to the index tab page and restarting Office does not help in my installation.
Starting m60 on Unbuntu, I now get some warning and error messages that did not appear in previous versions. They show up after a blank Help page and/or a "Topic not found" box was displayed in Help Viewer: I/O warning : failed to load external entity "vnd.sun.star.zip:/" [Java framework] Error in function prepareSettingsDocument (elements.cxx).
This caused the problem: - xmlhelp uses libxml2 when being started and registers (and afterwards removes) some input callback functions there. - without initializing libxml2 before this prevents the default input call- back functions (e.g. needed to access simple files) from being registered. libxml2 is nearly unusable from now on. - Help search needs the service "com.sun.star.help.HelpSearch" implemented in Java. Creating this service (and all other Java based services) fails, because the Java loader is not able to read its xml settings file. This is only a problem after restarting the Office as when starting it the first time this file doesn't exist. - The problem did not show before because another lib used to initialize libxml2 before xmlhelp used it. This is not the case any more, so libxml2 has to be initialized in xmlhelp by calling xmlInitParser(). FIXED
mav->of: Please verify the issue.
of: Looks good in cws fk123.
add me to cc
Is ok in OOo320_m5