[Bug 55410] on windows automatically fill in the default user's name into tools->options->user data

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Apr 5 15:41:56 PDT 2015


https://bugs.documentfoundation.org/show_bug.cgi?id=55410

ritztro <brentritztro96 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #6 from ritztro <brentritztro96 at gmail.com> ---
I am attempting to add the default entry in on windows, however I am having
trouble with this.

Main affected file: shell/source/backends/desktopbe/desktopbackend.cxx

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>

I figured that it would call getPropertyValue to get the "givenname" value.
Since it would call getPropertyValue, the function should return "brent". This
would then automatically fill in the tools->options->user data name value
correct? However it does not seem to fill it in.

Oh and before I did this I recompiled the shell, officecfg, and postprocess
modules (shell contained the backend) so that these changes may take affect.
Then I ran LibreOffice.



I was wondering if this was because the program no longer checks for default
values using the UserProfile.xcu file or if there was another reason. Either
way the value is not appearing within the box.

Should I try re-making the whole program instead of just the few affected
modules? Am I missing something?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150405/d1c6f2de/attachment.html>


More information about the LibreOffice mailing list