<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 - VLC plugin X11: clicking on a file in the Open File dialog puts garbage in the File input field"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130127">130127</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>VLC plugin X11: clicking on a file in the Open File dialog puts garbage in the File input field
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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>Writer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>tomaspartl@centrum.cz
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=157332" name="attach_157332" title="Screenshot of a malfunction of the Open File dialog with the X11 VCL plugin">attachment 157332</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=157332&action=edit" title="Screenshot of a malfunction of the Open File dialog with the X11 VCL plugin">[details]</a></span>
Screenshot of a malfunction of the Open File dialog with the X11 VCL plugin

When I use the X11 VCL plugin on Linux, clicking on a file in the Open File
dialog puts not only the filename but also all the other information next to it
(human-readable file-type description, creation date...) in the file input box
which results in an invalid file name.

Steps to reproduce:

1) Use the X11 VCL plugin:
export SAL_USE_VCLPLUGIN=gen; libreoffice6.5

2) File -> Open (CTRL+O}

3) Click on a file name in the Open File Dialog, e.g. 'whatever.docx'

expected result:
The File field should say 'whatever.docx'

actual result:
The File field says: 'whatever.docx MS Word document 9616 Bytes 01/22/2020,
17:39'

See the attached screenshot.

This is the LO version used:

Version: 6.5.0.0.alpha0+
Build ID: b203b9c83d0000c8465dcd92fb6b029a2f28c724
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: x11; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time:
2020-01-14_09:44:21
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded</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>