Bug 161460 - Copy and Paste misses image properties
Summary: Copy and Paste misses image properties
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.2.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste Images Cut-Copy
  Show dependency treegraph
 
Reported: 2024-06-07 14:58 UTC by Dennis Roczek
Modified: 2024-06-13 18:00 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
"broken.odt" - just an example file (45.43 KB, application/vnd.oasis.opendocument.text)
2024-06-07 14:58 UTC, Dennis Roczek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Roczek 2024-06-07 14:58:06 UTC
Description:
* Download broken.odt (will be attached here in next comment)
* Open it, remove Logo
* Download and open attachment 194596 [details]
* copy logo
* click in header of broken.odt and paste the logo in the left column
* At least(!) Property "Keep inside text boundaries" under image --> Properties --> Tab Position and Size is not kept.

Happens both on macos and on quick check on linux.

Steps to Reproduce:
Copy and paste Logo

Actual Results:
Logo looses properties

Expected Results:
Logo properties are kept


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 4; OS: macOS 11.7.10; UI render: Skia/Raster; VCL: osx
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

and 

Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 4:24.2.3~rc2-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 1 Dennis Roczek 2024-06-07 14:58:39 UTC
Created attachment 194597 [details]
"broken.odt" - just an example file
Comment 2 Telesto 2024-06-07 15:14:49 UTC
1. Download broken.odt (will be attached here in next comment)
2. Select the logo
3. Open image properties -> Position and size tab -> Keep inside text boundaries checked
3. Download and open attachment 194596 [details]
4. Select the loge from the 'working.odt'
5. Open Image properties -> Position an Size tab -> keep inside text boundaries unchecked
6. Copy the logo (from working)
7. Go to broken.odt -> delete the logo
8. Paste the logo from clipboard
9. Open Image properties _> Position and size tab -> Keep inside text boundaries checked. While on the source format being unchecked

Correct?
Comment 3 Dennis Roczek 2024-06-07 15:19:12 UTC
(In reply to Telesto from comment #2)
> 1. Download broken.odt (will be attached here in next comment)
> 2. Select the logo
> 3. Open image properties -> Position and size tab -> Keep inside text
> boundaries checked
> 3. Download and open attachment 194596 [details]
> 4. Select the loge from the 'working.odt'
> 5. Open Image properties -> Position an Size tab -> keep inside text
> boundaries unchecked
> 6. Copy the logo (from working)
> 7. Go to broken.odt -> delete the logo
> 8. Paste the logo from clipboard
> 9. Open Image properties _> Position and size tab -> Keep inside text
> boundaries checked. While on the source format being unchecked
> 
> Correct?

Nice step-to-step guide. Much clearer formulated than myself.

Want to add: I always use keyboard: so ctrl+c/v resp. cmd+c/v but I do hope that this doesn't make a diff. ;-)
Comment 4 m_a_riosv 2024-06-07 15:25:46 UTC
Maybe it is in relation with the version used to create the files.
https://help.libreoffice.org/24.8/en-US/text/swriter/01/05060100.html?System=WIN&DbPAR=WRITER&HID=modules/swriter/ui/frmtypepage/FrameTypePage#:~:text=Keep%20inside%20text-,boundaries,-Keeps%20the%20selected

With a new file, seems it is copied fine, with a new file, after insert the table in the header and merged the cells to the right.

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 5 Dennis Roczek 2024-06-07 15:28:12 UTC
(In reply to m_a_riosv from comment #4)
> Maybe it is in relation with the version used to create the files.
> https://help.libreoffice.org/24.8/en-US/text/swriter/01/05060100.
> html?System=WIN&DbPAR=WRITER&HID=modules/swriter/ui/frmtypepage/
> FrameTypePage#:~:text=Keep%20inside%20text-,boundaries,-
> Keeps%20the%20selected
> 
> With a new file, seems it is copied fine, with a new file, after insert the
> table in the header and merged the cells to the right.
> 
> Version: 24.2.4.2 (X86_64) / LibreOffice Community
> Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
> CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL:
> win
> Locale: es-ES (es_ES); UI: en-US
> Calc: CL threaded

I did also try to copy the whole table from one header to the other. Didn't help. Was going crazy last week.
Comment 6 m_a_riosv 2024-06-07 18:59:18 UTC
Now you know what the option is creating the issue, so no too much difficult to solve it.