<html>
<head>
<base href="https://bugs.documentfoundation.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sbergman@redhat.com" title="Stephan Bergmann <sbergman@redhat.com>"> <span class="fn">Stephan Bergmann</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - on windows automatically fill in the default user's name into tools->options->user data"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=55410">bug 55410</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEEDINFO
</td>
<td>NEW
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>sbergman@redhat.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - on windows automatically fill in the default user's name into tools->options->user data"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=55410#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - on windows automatically fill in the default user's name into tools->options->user data"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=55410">bug 55410</a>
from <span class="vcard"><a class="email" href="mailto:sbergman@redhat.com" title="Stephan Bergmann <sbergman@redhat.com>"> <span class="fn">Stephan Bergmann</span></a>
</span></b>
<pre>(In reply to ritztro from <a href="show_bug.cgi?id=55410#c6">comment #6</a>)
<span class="quote">> Currently I am trying to set the value manually in desktopbackend.cxx. I am
> doing this by returning the value "brent" in the Default::getPropertyValue
> function. Since the officecfg/registry/data/org/openoffice/UserProfile.xcu
> has this:
> <prop oor:name="givenname">
> <value install:module="unixdesktop"
> oor:external="com.sun.star.configuration.backend.DesktopBackend givenname"/>
> </prop></span >
The install:module="unixdesktop" attribute means that this oor:external value
will only be used on Unix (Linux), not on Windows. Something like
<span class="quote">> diff --git a/officecfg/Configuration_officecfg.mk b/officecfg/Configuration_officecfg.mk
> index 7e2af03..b7e8625 100644
> --- a/officecfg/Configuration_officecfg.mk
> +++ b/officecfg/Configuration_officecfg.mk
> @@ -69,6 +69,7 @@ $(eval $(call gb_Configuration_add_spool_modules,registry,officecfg/registry/dat
> org/openoffice/Setup-reportbuilder.xcu \
> org/openoffice/Setup-start.xcu \
> org/openoffice/UserProfile-unixdesktop.xcu \
> + org/openoffice/UserProfile-unxwnt.xcu \
> org/openoffice/VCL-gconflockdown.xcu \
> org/openoffice/VCL-unixdesktop.xcu \
> org/openoffice/Office/Accelerators-macosx.xcu \
> diff --git a/officecfg/registry/data/org/openoffice/UserProfile.xcu b/officecfg/registry/data/org/openoffice/UserProfile.xcu
> index b41756a..c206366 100644
> --- a/officecfg/registry/data/org/openoffice/UserProfile.xcu
> +++ b/officecfg/registry/data/org/openoffice/UserProfile.xcu
> @@ -20,7 +20,7 @@
> <oor:component-data xmlns:oor="<a href="http://openoffice.org/2001/registry">http://openoffice.org/2001/registry</a>" xmlns:install="<a href="http://openoffice.org/2004/installation">http://openoffice.org/2004/installation</a>" xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" oor:name="UserProfile" oor:package="org.openoffice">
> <node oor:name="Data">
> <prop oor:name="givenname">
> - <value install:module="unixdesktop" oor:external="com.sun.star.configuration.backend.DesktopBackend givenname"/>
> + <value install:module="unxwnt" oor:external="com.sun.star.configuration.backend.DesktopBackend givenname"/>
> </prop>
> <prop oor:name="sn">
> <value install:module="unixdesktop" oor:external="com.sun.star.configuration.backend.DesktopBackend sn"/>
> diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk
> index a568832..f10c18b 100644
> --- a/postprocess/CustomTarget_registry.mk
> +++ b/postprocess/CustomTarget_registry.mk
> @@ -312,6 +312,7 @@ postprocess_FILES_main += \
> $(postprocess_MOD)/org/openoffice/Office/Paths-unixdesktop.xcu \
> $(postprocess_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
> $(postprocess_MOD)/org/openoffice/UserProfile-unixdesktop.xcu \
> + $(postprocess_MOD)/org/openoffice/UserProfile-unxwnt.xcu \
> $(postprocess_MOD)/org/openoffice/VCL-unixdesktop.xcu
> # Inet-unixdesktop.xcu must come after Inet.xcu
> # VCL-unixdesktop.xcu must come after VCL.xcu
> @@ -322,6 +323,7 @@ postprocess_FILES_main += \
> $(postprocess_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
> $(postprocess_MOD)/org/openoffice/Office/Common-wnt.xcu \
> $(postprocess_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
> + $(postprocess_MOD)/org/openoffice/UserProfile-unxwnt.xcu \
> $(postprocess_MOD)/org/openoffice/ucb/Configuration-win.xcu
> # Inet-wnt.xcu must come after Inet.xcu
> postprocess_DRIVERS += ado</span >
(and rebuilding at least officecfg and postprocess) should make your changes
work.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>