Copy/paste of content in an object does not include its relations or their values

What’s The Bug?

If you use a CONTROL-C command to copy the content of something that has relations and their values in it, those will not be copied. It only copies the text that was entered in the object (or probably images… haven’t tried with images so I’m not sure).

How To Reproduce It

  1. Go to an object (e.g. I created a new page with some text in it).
  2. Type a bunch of text on the page.
  3. Add some relations to the page (e.g. tags, description, or other relation with some text values in it) to the page.
  4. Select everything on the page
  5. Press the CONTROL-C keys on the keyboard to copy everything that was selected
  6. Go to another note in AnyType (or some other application like a plain text editor or markdown editor) and CONTROL-V paste it.
  7. None of the relations or their values will be pasted, only the other text of the page will.

Image or Video

The Expected Behavior

I would expect that everything I see in the object (page, note, whatever it is) gets copied and pasted. The relations are important information that I am capturing and working with. Although it can be useful to export (or paste) things without that information, such as if it’s treated as metadata that you don’t want to reproduce into some final form, it’s also critical that I am able to transfer it (copy/paste) to other objects or software applications entirely.

Additional Context

This bug is like the concept in this related issue: Relations are not exported; Need full round-tripping - #5 by Hexara

Device

Frame.work 13

OS

Ubuntu Linux 23.10

Anytype Version

v0.39.0

Technical Information

OS version: linux x64 6.5.0-26-generic
App version: 0.39.0
Build number: build on 2024-03-05 15:37:42 +0000 UTC at #a7986fffadcc2031b1eb3372265db5dda05f4c6d
Library version: v0.32.1
Anytype Identity: A8E7MBkEQwQRbJKuFAP3bKXS7iYTc9ff4s2XdXB2pWvWjHkc
Analytics ID: 2769203f-17e0-483e-bb8b-8ee886a1117f
Device ID: 12D3KooWHkcC9AxiXZS3VrBva3CB6EXDVDKYvJMBfSUAHNBrfXox

Confirmed on Win 10, Anytype v0.39.0

This report has been added to our issue tracker and received by the Development Team.

I would like to add a small note to this. I noticed that if you print a page to PDF, it will include all of the content (relations and their values) in the output file as text.

I have no understanding of how the print functionality relates (or doesn’t) to the copy/paste and exporting but I thought this shows it is possible for that text to be included with the rest of the content. We just need it to be included in the processes where it’s most useful to work with. :slight_smile: