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: 2026-06-14 03:47 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.
Comment 7 QA Administrators 2026-06-14 03:47:46 UTC
Dear Dennis Roczek,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug