<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 - Close button should not be visible"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123894">123894</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Close button should not be visible
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>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>machniak@kolabsys.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I upgraded to Collabora Online 4.0 and see the Close button in the edit
toolbar. 

Is there a WOPI property I should set to make it invisible? I'm using:

            'UserCanWrite'              => true,
            'PostMessageOrigin'         => $info['origin'],
            // Tell the client we do not support PutRelativeFile yet
            'UserCanNotWriteRelative'   => true,
            // Properties specific to Collabora Online
            'HideSaveOption'            => true,
            'HideExportOption'          => true,
            'HidePrintOption'           => true,
            'EnableOwnerTermination'    => true,
            'WatermarkText'             => '',
            'DisablePrint'              => false,
            'DisableExport'             => false,
            'DisableCopy'               => false,
            'DisableInactiveMessages'   => true,
            'DisableChangeTrackingRecord' => true,
            'DisableChangeTrackingShow'   => true,
            'HideChangeTrackingControls'  => true,
            'UserExtraInfo'             => array(),

Additionally, when I fold/unfold the toolbar the Close button disappears.</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>