<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 - Applying autocorrect to text with URLs causes Writer to hang"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125261">125261</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Applying autocorrect to text with URLs causes Writer to hang
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.2.2.2 release
          </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>hamilton.tim@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When attempting to apply autocorrect to text that contains URLs to convert to
hyperlinks
(<a href="https://ask.libreoffice.org/en/question/6393/how-may-i-do-writer-recognize-hyperlinks-automatically/">https://ask.libreoffice.org/en/question/6393/how-may-i-do-writer-recognize-hyperlinks-automatically/</a>)
causes Writer to stop responding requiring a force quit.

Steps to Reproduce:
1. Open a new Writer document.
2. Turn URL recognition on - Tools | Auto Correct | Auto correct options |
Options tab
3. Insert text containing URLs (see below)
4. Set paragraph style to default
5. Apply auto correct - Tools | Auto Correct | Apply

Actual Results:
Libre Office hangs

Expected Results:
Auto correct applied, text urls converted to hyperlinks


Reproducible: Always


User Profile Reset: No



Additional Info:
Bug is evident in both deb and snap versions of LO, but not in earlier 5.x or
6.x series.

Sample test with URLs:
This webpage is and example of a url that should be able to be converted to a
hyperlink <<a href="https://www.example.com/">https://www.example.com/</a>>. As is this page <<a href="http://www.example.org/">http://www.example.org/</a>>
and this page <<a href="http://adjustment.example.com/aunt">http://adjustment.example.com/aunt</a>>.

These pages should also be able to be converted using the method linked to
above <<a href="https://www.example.org/#brother">https://www.example.org/#brother</a>>,
<<a href="http://www.example.com/airport.php#blade">http://www.example.com/airport.php#blade</a>>.

A typical use for a page like this would be a bibliography or reference list
<<a href="http://www.example.com/">http://www.example.com/</a>>.

Bug confirmed to be upstream, see
<a href="https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1828811">https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1828811</a></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>