Description: 1) Create a new Writer document 2) Tools > Macro > Edit 3) Copy / paste the macro from bug 127310 into the IDE - do not change the file path pointing to the image to be inserted. 4) Run the macro from the Basic IDE. 5) An error message is produced in the IDE, ignore it (OK) 6) Switch to Writer document and notice that the bounding box / frame below the blue rectangle is empty. 7) Double-click on the box ==>> crash Reproduced under macOS with master 6.4alpha and on Linux with Version: 6.3.0.4 Build ID: libreoffice-6.3.0.4-snap1 Threads CPU : 4; OS : Linux 4.4; UI Render : par défaut; VCL: gtk3; Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR Calc: threaded Steps to Reproduce: See description Actual Results: Crashes and launches file recovery. Expected Results: Shouldn't crash. Either present an error message to indicate what is wrong, or else allow the user to choose an image to fill in the background of the frame/bounding box. Reproducible: Always User Profile Reset: Yes Additional Info:
Not reproducible in Version: 6.4.0.0.alpha0+ Build ID: e8b3df5b9b0eb0a93c25b6dc2e445ae44a7e3f78 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: x11; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded
ok, I can reproduce it, I have to double click on the border... Version: 6.4.0.0.alpha0+ Build ID: e8b3df5b9b0eb0a93c25b6dc2e445ae44a7e3f78 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded
Not reproducible in Versión: 6.3.1.2 (x86) Id. de compilación: b79626edf0065ac373bd1df5c28bd630b4424273 Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; VCL: win; Configuración regional: es-ES (es_ES); Idioma de IU: es-ES Calc: threaded so it seems to be linux only... maybe mac also?
Also reproduced in Version: 5.2.0.0.alpha1+ Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e CPU Threads: 4; OS Version: Linux 4.15; UI Render: default; Locale: ca-ES (ca_ES.UTF-8)
and Version: 4.3.0.0.alpha1+ Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a) I don't think it's a high severity bug.
On Win10 with master sources updated today, I don't reproduce the crash. I'll give a try on Linux
On pc Debian x86-64 with master sources updated today + gtk3, I don't have the transparent frame below the empty blue rectangle. So can't reproduce it too on Linux.
The problem seems to be related to anchoring of the object : Process 10694 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x00000001842dfa4b libswlo.dylib`SwFEShell::ShouldObjectBeSelected(this=0x00000001803f9f40, rPt=0x00007ffeefbfe8b8) at feshview.cxx:1361:83 1358 { 1359 if ( pObj->GetLayer() == rIDDMA.GetHellId() ) 1360 { -> 1361 const SwAnchoredObject* pAnchoredObj = ::GetUserCall( pObj )->GetAnchoredObj( pObj ); 1362 const SwFrameFormat& rFormat = pAnchoredObj->GetFrameFormat(); 1363 const SwFormatSurround& rSurround = rFormat.GetSurround(); 1364 if ( rSurround.GetSurround() == css::text::WrapTextMode_THROUGH ) Target 0: (soffice) stopped.
Created attachment 153976 [details] Backtrace from lldb session
Just to be sure, at the step5, do you click OK button to close the error message popup or just let it open?
(In reply to Julien Nabet from comment #10) > Just to be sure, at the step5, do you click OK button to close the error > message popup or just let it open? Click on OK to make it go away, then double-click on the border around the broken image link that should have been drawn in the Writer document
On pc Debian x86-64 with master sources updated today with gtk3, kf5 or gen rendering, I only have blue rectangle and no empty frame below, so can't reproduce this. I'll give a new try on Win10 tomorrow.
Dear Alex Thurgood, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Still reproducible in Version: 7.5.1.2 (AARCH64) / LibreOffice Community Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129 CPU threads: 8; OS: Mac OS X 13.3; UI render: Skia/Raster; VCL: osx Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Calc: threaded
Created attachment 186760 [details] 20230418 Backtrace from lldb