Description: In the attachment I have an image. Select it. Format - Rotate - Rotate 180. In the dbg build of LibreOffice if you click on the right frame you get this warning: warn:legacy.osl:629036:629036:sw/source/core/layout/anchoredobject.cxx:563: <SwAnchoredObject::GetObjRectWithSpaces> - cache for object rectangle inclusive spaces marked as valid, but it couldn't be. Missing invalidation of cache. Steps to Reproduce: see description Actual Results: warning Expected Results: no warning Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 12e8d57e791bb1befc0716d4d02af7d1d1ccb4ae CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Created attachment 184430 [details] demo document
Confirm Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 12e8d57e791bb1befc0716d4d02af7d1d1ccb4ae CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL threaded
The same in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 0e17d8ddccdee7d4f46b256153853e1cab87c99e CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded warn:legacy.osl:725778:725778:sw/source/core/layout/anchoredobject.cxx:564: <SwAnchoredObject::GetObjRectWithSpaces> - cache for object rectangle inclusive spaces marked as valid, but it couldn't be. Missing invalidation of cache.
Retested with 24.8 warn:vcl:35937:35937:vcl/source/image/ImplImage.cxx:100: Failed to load scaled image from cmd/lc_rotatereset.png at 1 warn:vcl:35937:35937:vcl/source/image/ImplImage.cxx:124: Failed to load stock icon cmd/lc_rotatereset.png warn:legacy.osl:35937:35937:sw/source/core/layout/anchoredobject.cxx:570: <SwAnchoredObject::GetObjRectWithSpaces> - cache for object rectangle inclusive spaces marked as valid, but it couldn't be. Missing invalidation of cache. Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 6d39b1a6068bbbd5ca4947f668f989dbfb73342d CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Can you try testing this again on master?
The same warn:vcl:4539:4539:vcl/source/image/ImplImage.cxx:100: Failed to load scaled image from cmd/lc_rotatereset.png at 1 warn:vcl:4539:4539:vcl/source/image/ImplImage.cxx:124: Failed to load stock icon cmd/lc_rotatereset.png warn:legacy.osl:4539:4539:sw/source/core/layout/anchoredobject.cxx:570: <SwAnchoredObject::GetObjRectWithSpaces> - cache for object rectangle inclusive spaces marked as valid, but it couldn't be. Missing invalidation of cache. Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a3b0ef4088183c4a3b2ec3fef08ef91314eaef54 CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded