https://bugs.freedesktop.org/show_bug.cgi?id=76930

Michael Stahl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #13 from Michael Stahl <[email protected]> ---
(In reply to comment #12)
> No, that is not correct, we (soffice.exe and myself) did/do not look in the
> correct place ;-(. The file (idxexample.odt) _is_ present in 
>   C:\Program Files\LibreOffice 4\share/template/common/internal/, but
> soffice.exe looks in
>   C:\Program Files\LibreOffice 4\share/template/internal/ (see copy/paste
> from Process Monitor in comment #0).
> Now we are making progress :-)

so i found out that the line:
aOpt.SetTemplatePath(OUString(LIBO_SHARE_FOLDER "/template/common"));
is totally bogus and fortunately doesn't do anything,
and have removed it in d2a73cf32375608a93175a221c769d667140d073.

which means that actually dialog relies on the Template path in the
configuration to include the "<INSTALLATIONROOT>/share/template/common"
path.

strangely the UI Tools->Options->LibreOffice->Paths->Templates
does not display the path for me, but it is there.

share/registry/main.xcd contains this:

      <group oor:name="Path">
          ...
          <prop oor:name="Template" oor:type="oor:string-list">
            <value>
              <it>$(insturl)/share/template/$(vlang)</it>
              <it>$(insturl)/share/template/common</it>
              <it>$(userurl)/template</it>
            </value>
          </prop>

...

          <prop oor:name="Template" oor:type="oor:string-list"
oor:nillable="false">
            <value>
              <it>$(insturl)/share/template/$(vlang)</it>
              <it>$(insturl)/share/template/common</it>
              <it>$(userurl)/template</it>
            </value>
          </prop>

...

      <node oor:name="Template" oor:op="fuse" oor:mandatory="true">
        <node oor:name="InternalPaths">
          <node oor:name="$(insturl)/share/template/common" oor:op="fuse"/>
          <node oor:name="$(insturl)/share/template/$(vlang)" oor:op="fuse"/>
        </node>
        <prop oor:name="WritePath">
          <value>$(userurl)/template</value>
        </prop>
      </node>

(don't know which of these would be relevant)
does that look the same for you?

> BTW the error message reporting idxexample.sdw missing, should IMHO report
> that idxexample.odt is missing (and not mention an old-style file).

that is fixed already with commit 97b20c9deee46195357896197440cc1cc43d3452

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to