https://bugs.documentfoundation.org/show_bug.cgi?id=158592
Bug ID: 158592 Summary: Control anchored and fit to cell jumps to different cell when changing Anchor setting in Control Properties Product: LibreOffice Version: Inherited From OOo Hardware: x86-64 (AMD64) OS: Linux (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: Calc Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: stephane.guil...@libreoffice.org CC: samuel.mehrbr...@allotropia.de Blocks: 87740, 107742 If the anchoring of a form control that was resized to fit the cell is set "to cell" from the Control Properties dialog, it moves to another cell toward the top left. Steps: 1. Open Calc (or open attachment and jump to step 6) 2. Insert > Form Control > Text box 3. Trace the control further than column C and row 2 (for example, on cell E10) 4. right-click on the control > Anchor > To cell (or "resize with cell", same thing) 5. right-click on the control > Fit to cell size 6. right-click on the control > Control properties > Anchor > To cell (repeatedly) Result: the control jumps from cell to cell at each click, until it settles in cell C2. The change can't be undone. Same happens with other controls, e.g. a Numerical Field. Note that the setting does not have the option "To cell (resize with cell)", which might be related to the issue? Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 0ddd9f7e055a0c1ecb120de3e40c3fdb8373e9dc CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Also reproduced with sample file in Ooo 3.3, so issue is inherited (although the option to "Fit to Cell Size" was only added in 6.1 for bug 116108). Seems to have to do with the position of the top-right corner, possibly because of rounding. Samuel, I thought you might be interested? Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=87740 [Bug 87740] [META] Anchor and text wrapping bugs and enhancements https://bugs.documentfoundation.org/show_bug.cgi?id=107742 [Bug 107742] [META] Form control bugs and enhancements -- You are receiving this mail because: You are the assignee for the bug.