Steps to reproduce. 1. In Calc, in B2, insert a shape 2. Set Anchor "To Cell, Resize with Cell" 3. right click -> Position and Size -> rotate by some angle 3. Save 4. Close and re-open Expected behavior 1. Shape stays in same position Actual behavior 1. Shape moves on each save
Created attachment 141216 [details] Square shape originally anchored to B2
This seems to happen when the shape is larger than the cell it's anchored to.
Also seen in 5.4.x, so not a regression from my changes.
No repo in LibreOffice 3.3.4. A file saved with 5.3+ is correctly centered. Subsequent save, close, re-open cycles do not result in the shape moving.
Created attachment 141413 [details] tail of terminal output, daily Linux dbgutil bibisect Working on debian-buster in the daily Linux dbgutil bibisect repository, I see the bug came into LO somewhere in the 73 or so commits to master: commit date s-h -------- ---------- -------- good 559d6c25 2018-04-06 6c737acc bad bdd69368 2018-04-07 3ec490fc For this, I deemed: bad, upon opening file: rotated square is in C3, extending into C2 and C4. bad after save and reopen, and good upon opening file and after save and reopen: rotated square is in B2, extending into C2. Contrary to comment 3, I have not seen the bug in 5.4.5.1. I am setting keyword bibisected.
Created attachment 141427 [details] Comparison LibreOffice 6.0 and Master At import time, the drawing is over B2 in 6.0.3 and over C3 in master
Regression introduced by: author Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2018-04-06 10:20:43 +0200 committer Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2018-04-06 13:09:55 +0200 commit 89b671c4a4288f3058157da292b1275e5bfb8392 (patch) tree 8bd7dc860d74e8db1f52066b702be1f4766ad487 parent 49a2ca259287173d86a303b5c75d25ce52a9e26c (diff) tdf#116836 Don't move objects out of cell when shrinking cell Bisected with: bibisect-linux64-6.1 Adding Cc: to Samuel Mehrbrodt
Created attachment 141497 [details] screenshot of 3.6.7.2 vs 4.3.7.2 I agree with Samuel here. I can reproduce this in 5.4, 5.3, 4.3, but not in 3.3 or 3.6. So this regression occurred between 3.6 and 4.3 Use these steps to reproduce this bug: 1. Open attachment 141216 [details] 2. Compare location of rectangle with my screenshot. LO 3.6 is correct. 4.3 is wrong. I think Xisco & Terrence bisected a different bug.
I'm going to put in a bibisect for the regression that occurred here: Version 4.0.0.1 (Build ID: 527dba6f6e0cfbbc71bd6e7b88a52699bb48799) Good Version: 4.1.0.1 Build ID: 1b3956717a60d6ac35b133d7b0a0f5eb55e9155 BAD attachment 141497 [details] shows the issue that I was reporting. The bug Xisco & Terrence identified is probably related to Bug 116931. Changing anchor type from "To Cell, Resize with Cell" to "To Cell" will workaround this bug.
It seems I hit the bullseye with 41max: https://cgit.freedesktop.org/libreoffice/core/commit/?id=2b1aa949539d2fcbb3d349be3c279996630d83fc fdo#56276 - resize/reposition rotated shapes in a sensible way Committer is retired.
Dear Luke, 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 http://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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
The error still exists in Version: 6.4.0.0.alpha0+ (x64) Build ID: b2d8093b19642038631dfb8f1ab6745a380a652c CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; TinderBox: Win-x86_64@42, Branch:master, Time: 2019-09-23_22:42:37 Locale: de-DE (en_US); UI-Language: en-US Calc: threaded
Raising priority as suggested for orphaned regressions in past -qa IRC discussion.
Severity is its own animal, so setting back to normal
I think, it is the same reason as bug 119191. It looks good with my (not yet finished) local patch.
(In reply to Regina Henschel from comment #15) > I think, it is the same reason as bug 119191. It looks good with my (not yet > finished) local patch. Hi Regina, Actually your patch < https://git.libreoffice.org/core/commit/f44140bebb9c493d97ba5aef26c9692c53a6b93f > breaks attach document. After RT, the drawing is just a line...
(In reply to Xisco Faulí from comment #16) > (In reply to Regina Henschel from comment #15) > > I think, it is the same reason as bug 119191. It looks good with my (not yet > > finished) local patch. > > Hi Regina, > Actually your patch < > https://git.libreoffice.org/core/commit/ > f44140bebb9c493d97ba5aef26c9692c53a6b93f > breaks attach document. After RT, > the drawing is just a line... so, taking a deeper look at this issue, indeed, it's fixed by f44140bebb9c493d97ba5aef26c9692c53a6b93f, thus, closing as a duplicate of bug 119191. OTOH, it causes the mentioned problem after saving the document. I'll create a follow-up bug *** This bug has been marked as a duplicate of bug 119191 ***
(In reply to Xisco Faulí from comment #17) > OTOH, it causes the mentioned problem after saving the document. I'll create > a follow-up bug > > *** This bug has been marked as a duplicate of bug 119191 *** See bug 129339