<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 - big CSV, Calc hangs when separator used in CSV was not selected when last file was opened"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=141505">141505</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>big CSV, Calc hangs when separator used in CSV was not selected when last file was opened
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Reporter</th>
          <td>mkozusky@deutsch.cz
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Hi,
I have a big (70MB) CSV file, which has "," separator, I open the file (before
that I had to choose I will use "," with some smaller CSV) and everything is
OK. Then I have another big CSV, which has ";" as separator. But because ";"
was not selected with previous file (I didn't want to select multiple
separators), it hangs. Normaly, with small files, whole content would be shown
on one or two lines in import dialog, when you select wrong separator. But with
this big file, it just hangs (may be it would recover after few hours, but I
don't want to wait for that).
Would it be possible to fix this somehow? May be to set some limits somewhere,
so that it doesn't try to parse the file further when wrong separator is
selected?

Steps to Reproduce:
1. open CSV with "," separator (and select no other separator)
2. close the file
3. try to open big CSV file, which has ";" separator

Actual Results:
Calc hangs (probably trying to parse the CSV using lastly selected ","
separator to show the preview)

Expected Results:
Calc should not hang, may be there should be some size limit it loads to show
the preview


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.2.2 (x64) / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: cs-CZ
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>