<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 - Event-Triggers "When unloading" and "Before unloading" of Forms do not work"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=128409">128409</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Event-Triggers "When unloading" and "Before unloading" of Forms do not work
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.3.2.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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>Base
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>h-bauer@web.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
It is not possible to trigger the Events "Before unloading" or "When unloading"
when a Form is closed in Base. This malfunction already was documented in the
LibreOffice Base Handbook in the year 2003 (Page 68: Unloading: This option
seems not to function."). Even with LibreOffice 6.3.2.2 it is not working.


Steps to Reproduce:
1. Create a Form within Base
2. Create a Macro e.g "Sub OnUnloadForm"
3. In the Form-Properties/Events assign the event "Before unloading" or "When
unloading" to this Macro
4. Verify that this Macro will NOT be called when the form is unloaded

Actual Results:
I am not able to check if the form is getting closed. I don't know how to check
if a form is open without this event.

Expected Results:
The Event-Triggers "Before unloading" and "When unloading" of a Form should be
working.


Reproducible: Always


User Profile Reset: No



Additional Info:</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>