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

            Bug ID: 94220
           Summary: UI: Formula bar and cell edit show line break after
                    hyphen
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When entering a formula into Calc, both the formula bar and the cell edit view
treat - as a hyphen and show a linebreak after it.  This can lead to weirdness
when entering extremely long simple formulas.  Instead, it should be treated as
a normal minus symbol and not wrap the line.

Steps to reproduce:
1. New spreadsheet
2. Select any cell and enter the formula:
=1+1-1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1

Expected:
The formula should not break after the hyphen.

Actual:
The resulting formula simply appears as:
=1+1-

in the formula bar until you arrow to the right or down.  

And when you double click on the cell to edit directly, it appears as:
=1+1-
+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1

I've tested this behavior going all the way back to OpenOffice 3.2.1 using
64bit RHEL6.  It also affects LO 5.0.1.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to