Bug 166243 - Copy-pasting a table from the web (XWiki web interface) into LibreOffice fails in interesting ways
Summary: Copy-pasting a table from the web (XWiki web interface) into LibreOffice fail...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-18 11:51 UTC by David Tonhofer
Modified: 2025-04-20 09:12 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
What we want to copy (115.82 KB, image/png)
2025-04-18 11:53 UTC, David Tonhofer
Details
What the paste looks like if we just copy the row with the offending place (126.36 KB, image/png)
2025-04-18 11:53 UTC, David Tonhofer
Details
What the paste looks like if we copy rows beyond the offending place (168.20 KB, image/png)
2025-04-18 11:54 UTC, David Tonhofer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Tonhofer 2025-04-18 11:51:22 UTC
Description:
I'm copy-pasting part of a table from the XWiki web interface into Libre Office. In the web interface, the text "(i)" has been eagerly interpreted as the icon for "information" (the usual annoying stuff). The past operation works up until that point, with the table recreated more or less faithfully (barring some formatting arbitrariness). At the point of the (i), the past fails. The table is considered "done" and the rest of the text is dumped either underneath the table (if this is the last row) or into unaligned cells (if the table has more rows).

I don't know where in the copy-paste pipeline the problem occurs, really (what is in the clipboard, what's the format?)

I will attach screenshots.


Version: 24.8.6.2 (X86_64)
Build ID: 480(Build:2)
CPU threads: 8; OS: Linux 6.13; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded


Steps to Reproduce:
Try to copy from the web interface: a table with an embedded (i) image


Actual Results:
The paste is mangled from the (i) onwards

Expected Results:
The paste should not be mangled


Reproducible: Always


User Profile Reset: No

Additional Info:
No further info
Comment 1 David Tonhofer 2025-04-18 11:53:07 UTC
Created attachment 200390 [details]
What we want to copy
Comment 2 David Tonhofer 2025-04-18 11:53:30 UTC
Created attachment 200391 [details]
What the paste looks like if we just copy the row with the offending place
Comment 3 David Tonhofer 2025-04-18 11:54:05 UTC
Created attachment 200392 [details]
What the paste looks like if we copy rows beyond the offending place
Comment 4 Mateusz Wlazłowski 2025-04-18 17:40:48 UTC
Please provide us the url of the website from which you try to copy data from
Comment 5 David Tonhofer 2025-04-19 11:42:45 UTC
It's a private wiki, but I can get the data in the clipboard, if you indicate how to do it.
Comment 6 Mateusz Wlazłowski 2025-04-20 09:12:21 UTC
It would be easier if you save the page offline and upload the html file afterwards. Firefox lets you do that when you right click on the page and then "Save Page as..."


With inspect you can delete all of the items of the website you don't want to share