Description: Save image pointing to LibreOfficeDev\4\user\gallery by default Steps to Reproduce: 1. Open the attached file 2. Right click the image -> Save Image -> Look at the directory Actual Results: LibreOfficeDev\4\user\gallery by default Expected Results: Images/Documents/last known directory but surely not the current spot Reproducible: Always User Profile Reset: No Additional Info: Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: dc3b64dcbfb0a49c0be65bd8d73ed4e6d3828a21 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: nl-NL Calc: CL
Created attachment 170402 [details] Example file
@Heiko Getting an EasyHack vibe here..
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.
(In reply to NISZ LibreOffice Team from comment #3) > 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. Is it not possible to mimic the save/save as/ file open behaviour (that working properly too)
*** This bug has been marked as a duplicate of bug 129564 ***