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
warn:legacy.osl:29372:29372: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. Retested with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 742dbb088b44783c3a4f0fd120b11be3a74fd483 CPU threads: 16; OS: Linux 6.11; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Just opening the file: warn:sfx.dialog:26364:26364:sfx2/source/dialog/filtergrouping.cxx:357: already have an element for WordPerfect warn:sfx.dialog:26364:26364:sfx2/source/dialog/filtergrouping.cxx:357: already have an element for writerweb8_writer_template warn:sfx.dialog:26364:26364:sfx2/source/dialog/filtergrouping.cxx:357: already have an element for writerglobal8 warn:sal.file:26364:26364:sal/osl/unx/file_misc.cxx:682: Invalid file URL warn:sal.file:26364:26364:sal/osl/unx/file_misc.cxx:682: Invalid file URL warn:legacy.osl:26364:26364:sw/source/core/text/porfly.cxx:54: SwFlyPortion::Format warn:legacy.osl:26364:26364:sw/source/core/text/porfly.cxx:54: SwFlyPortion::Format After Select it. Format - Rotate - Rotate 180: warn:legacy.tools:26364:26364:sfx2/source/control/bindings.cxx:1761: No cache for OfficeDispatch! warn:vcl:26364:26364:vcl/source/image/ImplImage.cxx:103: Failed to load scaled image from cmd/lc_rotatereset.png at 1 warn:vcl:26364:26364:vcl/source/image/ImplImage.cxx:127: Failed to load stock icon cmd/lc_rotatereset.png warn:legacy.osl:26364:26364: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.