https://bugs.documentfoundation.org/show_bug.cgi?id=174530
Bug ID: 174530
Summary: Calc: Copy and Pasting non-contiguous columns = More
than 1 million blank rows
Product: LibreOffice
Version: 26.8.1.1 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Created attachment 209781
--> https://bugs.documentfoundation.org/attachment.cgi?id=209781&action=edit
3x3.Grid.of.Numbers
Steps to Reproduce
In Calc:
0. Have a simple 3x3 grid of information (where '-' is completely BLANK cells):
A B C
1 2 3
- 2 3
- - 3
(OR open sample ODS attachment.)
1. Left-Click to highlight Column A.
2. Hold CTRL down.
3. Left-Click to highlight Column C.
- This highlights 2 non-contiguous columns, Columns A + C.
4. Ctrl+C to copy.
5. Go into an external program, like Notepad++ or your browser, and then:
- Ctrl+V to paste in.
Expected:
2 columns + 3 rows of data:
1 3
- 3
- 3
Actual:
2 columns + 3 rows... followed by more than 1 million "blank row" TABs and line
endings:
1 3
- 3
- 3
TAB TAB
TAB TAB
TAB TAB
TAB TAB
[... repeat TABs until line 1,048,577...]
Instead of 6 characters pasted, you get more than 4 million.
- - -
Version: 26.8.1.1 (X86_64)
Build ID: bf6ef2662401c7d6dce671ab4deb26ee0af3a7c1
CPU threads: 8; OS: Windows 11 X86_64 (build 22631); UI render: Skia/Raster;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
- - -
Note #1: This should be treated similar to the check made for contiguous
columns.
If you select all 3 columns in a row:
- A + B + C
Then Calc detects there is "only 3 rows of actual data", so it correctly cuts
off at the "furthest down" point (Row 3).
(Ctrl+End correctly leads you to C3, which is "the lowest" it should go too, so
whenever Copying/Pasting, perhaps this row # should be some sort of maximum
lower bound check?)
- - -
Real-Life Use-Case: I had a large list of subtitles with 3 columns of info:
- Line #
- Timings
- Original Text
I was trying to copy/paste only Columns A and C into a translation website, so
I could more easily keep track of these together:
- Line 1 = "Japanese Text" -> Line 1 = "English Text"
The translation website's box is limited to "15,000 characters" at a time, but
when I did Step 5 Paste (Ctrl+V), my entire browser froze up for many
seconds... and then the counter ballooned up to millions.
--
You are receiving this mail because:
You are the assignee for the bug.