Created attachment 165866 [details]
File for reproducing the bug
Open attached file. It has a shape anchored "To cell (Resize with Cell)". Hide row 3. The shape is adapted as expected. Save and reload the file. The shape has a wrong height.
Problem is, that for some reason in calculating the shape rectangle not the actual row height is used, but a default of 256 twips (=4.516 mm).
This is not the same problem as bug 137033. In bug 137033 wrong values are written to file in case of transformed shapes. Here the values in the file are correct, but during opening a wrong height is calculated.
Version: 220.127.116.11 (x64)
Build ID: 32fe9ceb49bbaa24397ab3ebad5eb8f5287d8086
CPU threads: 4; OS: Windows 10.0 Build 20180; UI render: GL; VCL: win;
Locale: es-ES (es_ES); UI-Language: en-US Calc: CL
Version: 18.104.22.168.alpha0+ (x64)
Build ID: dec9a123867dcd0fea4683beeb3b4b6659f926f3
CPU threads: 4; OS: Windows 10.0 Build 20180; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES Calc: threaded
Should be fixed with https://cgit.freedesktop.org/libreoffice/core/commit/?id=1f0b3c7a40edfa81bbc7a58d123a6a2dfd83e4ca
(The patch covers several bug reports, therefore no automatic notification.)