Bug 100246 - ODG graphic copied to Writer moves on file load, if vertical position is set to "Top"
Summary: ODG graphic copied to Writer moves on file load, if vertical position is set ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2016-06-06 21:46 UTC by kolAflash
Modified: 2023-08-16 15:49 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example file (13.98 KB, application/vnd.oasis.opendocument.text)
2016-06-06 21:46 UTC, kolAflash
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kolAflash 2016-06-06 21:46:54 UTC
Created attachment 125522 [details]
example file

I created a ODG graphic in Draw and copied it to an ODT document in Writer. I right clicked it, choose "Position and size" and set the vertical position to "Top".
After saving, closing and reloading the file, the graphic wasn't at "Top" anymore. Instead it was at was at "From Top" 0.86 cm.
If I set the graphic to "From Top" 0 cm the same happends.
If I set "From Top" 0.01 cm the graphic will be at 0.87 cm. So the position seems to be changed relatively to the old one.

There's something else strange:
If I open the document and close it right again, LibreOffice asks me if I want to save ("Save Document?" dialog). But I didn't changed anything!?


The attached document is taken from a much bigger document where I ran into that problem.

The problem magically disappears if I remove any of the lines above. Sadly this isn't so easy in the bigger document in which I experienced the problem for the first time.
Interestingly this also makes the "Save Document?" not appear (if I open and close without making changes). This makes me guess, there is some connection and that the graphic is maybe "moved" automatically by LibreOffice after opening, so LibreOffice asks me to save that change.


System configuration:
openSUSE 13.2 Linux, 64 bit, german


Tested with the following LibreOffice versions:

5.1.3.2
http://download.opensuse.org/repositories/LibreOffice:/5.1/openSUSE_13.2/

5.1.3.2
https://download.documentfoundation.org/libreoffice/stable/5.1.3/rpm/x86_64/LibreOffice_5.1.3_Linux_x86-64_rpm.tar.gz
https://download.documentfoundation.org/libreoffice/stable/5.1.3/rpm/x86_64/LibreOffice_5.1.3_Linux_x86-64_rpm_langpack_de.tar.gz

5.0.6.3
https://download.documentfoundation.org/libreoffice/stable/5.0.6/rpm/x86_64/LibreOffice_5.0.6_Linux_x86-64_rpm.tar.gz
https://download.documentfoundation.org/libreoffice/stable/5.0.6/rpm/x86_64/LibreOffice_5.0.6_Linux_x86-64_rpm_langpack_de.tar.gz


--


By the way:
I feel like those problems increased since the LibreOffice versions released in the last year. You might put a better eye on code quality!
LibreOffice also seems to crash more often, especially when handling graphics.
Comment 1 Buovjaga 2016-06-10 12:06:14 UTC
Yeah. It depends on the anchoring. If I anchor to page, it doesn't mess with the Top setting after save&reload.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: 2d2a33934ecb952433a635ce5dab76cb2837b8a0
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on June 9th 2016

Ubuntu 16.04
Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 2 Björn Michaelsen 2016-10-05 13:47:20 UTC
Loading on bibisect-43lall source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932 (LibreOffice 3.5) already opens the file with a "Change Style:" undo object in the stack. Thus this one is around at least since LibreOffice 3.5.

Setting version to 3.5.0 which is the earliest known broken version.
Comment 3 kolAflash 2016-11-27 22:35:20 UTC
Still a problem in 5.3.0.0 beta1.
Tested on openSUSE 42.2.
Comment 4 QA Administrators 2017-11-28 08:39:35 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2019-12-03 13:49:20 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2021-12-03 04:19:29 UTC
Dear kolAflash,

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