https://bugs.documentfoundation.org/show_bug.cgi?id=134719
Bug ID: 134719
Summary: UITestLogger may be broken at least on Windows
Product: LibreOffice
Version: 7.1.0.0.alpha0+ Master
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
see steps to reproduce
Steps to Reproduce:
1. set LO_COLLECT_UIINFO to uitest.log
2. Launch Writer
3. hit some keys
Actual Results:
C:\Users\himajin1000000\AppData\Roaming\LibreOfficeDev\4\uitest exists.
C:\Users\himajin1000000\AppData\Roaming\LibreOfficeDev\4\uitest\uitest.log
doesn't.
"Command line" field in "SysInternals Process Monitor" says
"C:\Program Files\LibreOffice\v7.1.0.0\20200709\program\soffice.exe"
"-env:OOO_CWD=2C:\\Program Files\\LibreOffice\\v7.1.0.0\\20200709"
, with correct installation path on my PC.
but "Path" field says
C:\Program
Files\LibreOffice\v7.1.0.0\20200709\program\file:\C:\Users\himajin1000000\AppData\Roaming\LibreOfficeDev\4\uitest\uitest.log
"Result" field says
NAME INVALID
Expected Results:
C:\Users\himajin1000000\AppData\Roaming\LibreOfficeDev\4\uitest exists.
C:\Users\himajin1000000\AppData\Roaming\LibreOfficeDev\4\uitest\uitest.log
exists.
Reproducible: Always
User Profile Reset: No
Additional Info:
from boot.ini
UserInstallation=$SYSUSERCONFIG/LibreOfficeDev/4
---
https://opengrok.libreoffice.org/xref/core/vcl/source/uitest/logger.cxx?r=7b14b4b3#69
My guess:
osl::Directory::createPath changes aDirPath to a URL that begins with file:
and
maStream.Open(aFilePath, StreamMode::READWRITE | StreamMode::TRUNC);
thinks such a URL as a relative one, not an absolute one?
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs