Created attachment 141152 [details]
Simple anchored shape to show the problem
Steps to reproduce.
1. In calc, in C3, insert a shape
2. Set Anchor "To Cell, Resize with Cell"
3. Shrink the cell by shrinking the column or row width
1. Shape shrinks to new size
1. Shape shrinks to new size and moves up or to the left
Samuel Mehrbrodt committed a patch related to this issue.
It has been pushed to "master":
tdf#116836 Don't move objects out of cell when shrinking cell
It will be available in 6.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Thx for testing!
Created attachment 141193 [details]
Thank you for polishing up this new feature.
The basic test case now works, but you're going to need to take into account the rotation angle into your formula. Do you want to track it here or file a new bug report?
Verified FIXED in Version: 126.96.36.199.alpha0+ (x64)
Build ID: f76a22c7656f8741cf26c220fed1f8cd5a7d79c1
Thanks Samuel for polishing up this much sought after feature!
(In reply to Luke from comment #3)
> The basic test case now works, but you're going to need to take into account
> the rotation angle into your formula. Do you want to track it here or file a
> new bug report?
Hi Luke, please file a new bug report with a minimal testcase, and add me to cc. That would help a lot.