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

            Bug ID: 165076
           Summary: Pasting multi-line contents from the expanded formula
                    bar to another cell's expanded formula bar does not
                    preserve line breaks
           Product: LibreOffice
           Version: 7.5.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 199013
  --> https://bugs.documentfoundation.org/attachment.cgi?id=199013&action=edit
Demonstration video

To reproduce:

1. In calc, expand the formula bar widget to multi-line mode
2. Write a complex formula with line breaks for readability, such as:

= IF( ISBLANK(col_col_tip_amount);  
col_amount_paid / (1 + federal_tax + state_tax) * federal_tax;  
col_amount_paid / (1 + federal_tax + state_tax) / (1 + tip_rate) * federal_tax)


3. Select all within the formulabar editing textfield widget, Copy
4. Select another cell, then click the formulabar's editing textfield
5. Paste the multiline formula

Result: it's all on one line, as you can see in the attached demonstration
video.


---------

Tested on:

Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to