Bug 157827 - No plain text paste after copying an Impress/Draw table (missing text/plain target)
Summary: No plain text paste after copying an Impress/Draw table (missing text/plain t...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ImpressDraw-Tables Cut-Copy
  Show dependency treegraph
 
Reported: 2023-10-19 12:08 UTC by Stéphane Guillou (stragu)
Modified: 2023-10-19 17:48 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
sample impress table created in LO 7.6.3 (13.67 KB, application/vnd.oasis.opendocument.presentation)
2023-10-19 12:08 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Guillou (stragu) 2023-10-19 12:08:48 UTC
Created attachment 190297 [details]
sample impress table created in LO 7.6.3

Steps:
1. Create a table in Impress/Draw, input some values in cells
2. Select the whole object, copy, paste in a plain text editor
3. Select a cell range, copy, paste in a plain text editor

Results: nothing is pasted.

Impress/Draw to Writer/Calc works.
Writer/Calc to plain text works (although it could be improved when coming from Writer, see bug 157605).

Repro in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b83f069101f1e6d8aaac09a805f02bbc4c619e7a
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

And in OOo 3.3.

---- xclip targets

Coming from Impress, there is no text/plain target:

xclip -selection clipboard -t TARGETS -o

application/x-libreoffice-internal-id-786789
text/richtext
text/rtf
image/bmp
application/x-openoffice-bitmap;windows_formatname="Bitmap"
image/png
application/x-openoffice-wmf;windows_formatname="Image WMF"
application/x-openoffice-emf;windows_formatname="Image EMF"
application/x-openoffice-gdimetafile;windows_formatname="GDIMetaFile"
application/x-openoffice-drawing;windows_formatname="Drawing Format"
application/x-openoffice-embed-source-xml;windows_formatname="Star Embed Source (XML)"
application/x-openoffice-objectdescriptor-xml;windows_formatname="Star Object Descriptor (XML)";classname="9176E48A-637A-4D1F-803b-99d9bfac1047";typename="LibreOfficeDev 7.6 Presentation";displayname="file:///home/stragu/Downloads/2023-10-19_impress-table.odp";viewaspect="1";width="14136";height="1961";posx="0";posy="0"
TARGETS
TIMESTAMP

Whereas from Writer, there is a text/plain target:

application/x-libreoffice-internal-id-786789
STRING
UTF8_STRING
text/plain;charset=utf-8
application/x-openoffice-objectdescriptor-xml;windows_formatname="Star Object Descriptor (XML)";classname="8BC6B165-B1B2-4EDD-aa47-dae2ee689dd6";typename="LibreOfficeDev 7.6 Text Document";viewaspect="1";width="17000";height="3000";posx="0";posy="0"
application/x-openoffice-link;windows_formatname="Link"
text/plain;charset=utf-16
text/html
text/richtext
text/rtf
application/x-openoffice-embed-source-xml;windows_formatname="Star Embed Source (XML)"
TARGETS
TIMESTAMP

(results from LO 7.6.3)
Comment 1 Stéphane Guillou (stragu) 2023-10-19 12:11:45 UTC
A side-effect of that is that even pasting into Writer with "Edit > Paste Special > Paste Unformatted Text" does nothing.
Comment 2 jcsanz 2023-10-19 17:48:13 UTC
Confirmed with:

---------------------
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7d08767b890e723cd502b1c61d250924f695eb98
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded

---------------------
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded