<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - UITestLogger may be broken at least on Windows"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134719">134719</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>UITestLogger may be broken at least on Windows
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.1.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>himajin100000@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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

---

<a href="https://opengrok.libreoffice.org/xref/core/vcl/source/uitest/logger.cxx?r=7b14b4b3#69">https://opengrok.libreoffice.org/xref/core/vcl/source/uitest/logger.cxx?r=7b14b4b3#69</a>

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?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>