[Libreoffice-bugs] [Bug 140946] Save image pointing to LibreOfficeDev\4\user\gallery by default

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 11 11:38:54 UTC 2021


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

NISZ LibreOffice Team <libreoffice at nisz.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #3 from NISZ LibreOffice Team <libreoffice at nisz.hu> ---
Confirming with 

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a889bca4a1912da1e402181d8acd6ef7683e2f53
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Insert - Image uses the same directory.

This comes from officecfg/registry/data/org/openoffice/Office/Paths.xcu see the
key "Graphic".

Speculation:
using ($username) might help, although I'm unsure about how to set a Pictures
component after it in a platform and locale-independent way.

We use (internally) this default config snippet:

<node oor:name="Paths">
                <node oor:name="Graphic" oor:op="fuse">
                        <prop oor:name="WritePath" oor:op="fuse">
                               
<value>file:///C:/Users/$(username)/Pictures</value>
                        </prop>
                </node> 
          </node>

This works for us on Windows, but too hardcoded for straight upstreaming :).

Looking at framework/source/services/substitutepathvars.cxx might be needed
too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210311/ffc80530/attachment.htm>


More information about the Libreoffice-bugs mailing list