Issue 105386 - HELP search broken after installation of language pack
Summary: HELP search broken after installation of language pack
Alias: None
Product: documentation
Classification: Unclassified
Component: Online help (show other issues)
Version: DEV300m60
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 3.2
Assignee: Olaf Felka
QA Contact: issues@documentation
Depends on:
Blocks: 99999
  Show dependency tree
Reported: 2009-09-26 17:30 UTC by Rainer Bielefeld
Modified: 2009-11-25 13:27 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Rainer Bielefeld 2009-09-26 17:30:11 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
Comment 1 Rainer Bielefeld 2009-09-26 17:52:21 UTC
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 ;-)
Comment 2 Rainer Bielefeld 2009-09-27 09:57:54 UTC
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
Comment 3 jbf.faure 2009-09-27 16:51:37 UTC
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").

Comment 4 Olaf Felka 2009-09-28 11:03:16 UTC
@ ufi: I can reproduce this problem also. You're the one to fix it? I would
suggest this as a 3.2 stopper.
Comment 5 Uwe Fischer 2009-09-28 11:22:22 UTC
-->ab: your issue?
Comment 6 ab 2009-09-29 09:13:42 UTC
Needs evaluation, STARTED
Comment 7 ab 2009-10-01 09:26:57 UTC
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.
Comment 8 Uwe Fischer 2009-10-01 13:56:31 UTC
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.
Comment 9 ab 2009-10-01 14:03:37 UTC
ab->ufi: I can't confirm this. Also switching to the index tab
page and restarting Office does not help in my installation.
Comment 10 Uwe Fischer 2009-10-02 10:03:30 UTC
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 ""
[Java framework] Error in function prepareSettingsDocument (elements.cxx).
Comment 11 ab 2009-10-06 15:12:29 UTC
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 "" 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().

Comment 12 mikhail.voytenko 2009-10-15 08:40:48 UTC
mav->of: Please verify the issue.
Comment 13 Olaf Felka 2009-10-19 13:22:41 UTC
of: Looks good in cws fk123.
Comment 14 Regina Henschel 2009-10-20 19:37:13 UTC
add me to cc
Comment 15 Olaf Felka 2009-11-25 13:27:19 UTC
Is ok in OOo320_m5