<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 - Mail Merge Wizard, Address Block: Insertion of new elements fails when no element is marked"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=140367">140367</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Mail Merge Wizard, Address Block: Insertion of new elements fails when no element is marked
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </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>Writer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>b5de@posteo.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>1. Mail Merge Wizard
2. Select Starting Document: Use the current document
3. Select Document Type: Letter
4. Insert Address Block: 
   1. Address list: In my case a .xlsx-File consisting of several tables
                    (the converted .ods-File gives the same result)
   2. Address Block (New...):
                     -Company Name -> insert
                     -Address Line 2 -> insert, move to next line
                     -Title -> insert, move to next line
                     -mouse click in the upper window ("1. Drag address
elements
                       here"), to the right of <Title>; <Title> is no longer
                       marked and you can see the cursor
                     First Name -> insert

Result:
In my case the third line looks like this:
<T<First Name>itle>
The preview looks similar whether the fields are already matched or not.

I tried it on:
Linux Mint 20.1 Cinnamon; LibreOffice Version: 6.4.6.2
Xubuntu 20.04.2; LibreOffice Version: 6.4.6.2 and 7.0.4


You can avoid this bug making sure one of the already included elements is
marked. And for some reason it doesn't occur in the first line (second line
gives similar result).

If you need further information I will provide it.</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>