[Libreoffice-bugs] [Bug 127027] New: [FORMATTING] automatic column size for strings seems to be adjusted to string character count, not effective size (it disregards newline characters)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 19 13:09:35 UTC 2019


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

            Bug ID: 127027
           Summary: [FORMATTING] automatic column size for strings seems
                    to be adjusted to string character count, not
                    effective size (it disregards newline characters)
           Product: LibreOffice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: xtrajoris at gmail.com

Description:
I have a collection (CSV file) of very long strings containing newline
characters to improve readability (not my choice - the API forces me to).
When opening the CSV with LibreOffice Calc, the vertical size of the cells
containing the 'array strings' is correct (shows multiple lines), but the
horizontal cell size seems to be determined by the character count of the
longest string, disregarding newline characters. As a result, the column is
much broader than needs to be for this kind of content. It should only be as
broad as the longest line (which ends on a newline character).

Note: I don't know the earliest affected version, but it's been this way for as
long as I can remember. At least 2 years?

Steps to Reproduce:
1.create long strings that contain newline characters
2.save to csv
3.open again with Calc

Actual Results:
column with long strings is very broad

Expected Results:
column with long strings should be as broad as the longest line (which ends on
a newline character)


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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/20190819/e494d56c/attachment.html>


More information about the Libreoffice-bugs mailing list