Bug 134719 - UITestLogger may be broken at least on Windows
Summary: UITestLogger may be broken at least on Windows
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-10 16:05 UTC by himajin100000
Modified: 2021-09-10 04:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description himajin100000 2020-07-10 16:05:10 UTC
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?
Comment 2 Xisco Faulí 2021-02-09 15:19:51 UTC
Dear himajin100000@gmail.com,
Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 3 QA Administrators 2021-08-10 03:49:39 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-09-10 04:14:31 UTC
Dear himajin100000,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp