Description: When I use the service "com.sun.star.util.PathSettings" or the singleton "thePathSettings", the delivered path for all internal LO pathes are in a very strange format and not direct usable. For example: "module" delivers the following path: "file:///C:/Program%20Files/LibreOffice%205/program/../program" Steps to Reproduce: 1. create a basic code : Sub Main oPath = createUnoService("com.sun.star.util.PathSettings") msgbox oPath.module End Sub or use singleton: Sub Main oPath = getDefaultContext.getValueByName("/singletons/com.sun.star.util.thePathSettings") msgbox oPath.module End Sub 2. run the Macro 3. Actual Results: see pic1 (path2.png) Expected Results: as in former times... I expected an usable path-string. for example: OpenOffice still delivers the correct path (see pic2 path.png) Reproducible: Always User Profile Reset: No Additional Info: I checked this behavior even with the 5.3.x line of LO, same strange result. No difference between Linux or Windows versions. Seems to me, that there is a problem of resolving internal of the returned string. I can read the string... means file:///....../progam -> go back one folder (..) -> add folder /<text> But I need the correct pathname as for example will delivered by "work" or "temp". User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
Created attachment 134842 [details] Pic1 - result LO (5.3.x or 5.4.0 Linux/windows)
Created attachment 134843 [details] Pic2 - result OpenOffice 4.x and expected result
Weird behaviour confirmed in 3.6. Arch Linux 64-bit Version 3.6.7.2 (Build ID: e183d5b)
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
https://opengrok.libreoffice.org/xref/core/instsetoo_native/CustomTarget_setup.mk?r=920bf397#51 https://opengrok.libreoffice.org/xref/core/framework/source/services/substitutepathvars.cxx?r=e30f6a8c#604 https://opengrok.libreoffice.org/xref/core/framework/source/services/substitutepathvars.cxx?r=e30f6a8c#641 https://opengrok.libreoffice.org/xref/core/framework/source/services/substitutepathvars.cxx?r=e30f6a8c#643 https://opengrok.libreoffice.org/xref/core/framework/source/services/substitutepathvars.cxx?r=e30f6a8c#645 https://opengrok.libreoffice.org/xref/core/framework/source/services/substitutepathvars.cxx?r=e30f6a8c#99 https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/Paths.xcu?r=f1579d3d#126 https://opengrok.libreoffice.org/xref/core/framework/source/services/pathsettings.cxx?r=8dc6c96a#273 the following setting might be related https://opengrok.libreoffice.org/xref/core/officecfg/registry/schema/org/openoffice/Office/Common.xcs?r=b2fdf081#1672
Dear Thomas Krumbein, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Dear Thomas Krumbein, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I can only reproduce this issue on Windows. On Linux I do not get the weird "program/../program" part.
confirming Version: 24.2.1.2 (X86_64) / LibreOffice Community Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: default
Confirming Version: 24.2.5.2 (X86_64) / LibreOffice Community Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: es-ES Calc: CL threaded