[Libreoffice-bugs] [Bug 141505] New: big CSV, Calc hangs when separator used in CSV was not selected when last file was opened

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 6 07:17:17 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=141505

            Bug ID: 141505
           Summary: big CSV, Calc hangs when separator used in CSV was not
                    selected when last file was opened
           Product: LibreOffice
           Version: 7.1.2.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mkozusky at deutsch.cz

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210406/69d64298/attachment.htm>


More information about the Libreoffice-bugs mailing list