Bug 163224 - Calc : Unable to assign macro to image
Summary: Calc : Unable to assign macro to image
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks: Macro
  Show dependency treegraph
 
Reported: 2024-09-30 21:59 UTC by Jean-Michel COSTE
Modified: 2024-10-22 09:00 UTC (History)
5 users (show)

See Also:
Crash report or crash signature: 7bc5473f-ee5d-4740-8e94-c9bb834ff83d


Attachments
A file to test the bug, within a macro (10.98 KB, application/octet-stream)
2024-09-30 22:05 UTC, Jean-Michel COSTE
Details
A file to test the bug, within a macro (11.06 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-09-30 22:09 UTC, Jean-Michel COSTE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Michel COSTE 2024-09-30 21:59:47 UTC
Description:
Right click on the image in cell A1, and Assign a macro.
LibreOffice closes, regardless of the macro chosen.

Steps to Reproduce:
1.Put an picture in a cell
2.right click on the picture
3.Assign Macro

Actual Results:
Libreoffice hangs and close

Expected Results:
Macro assigned to picture.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 1; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded
Comment 1 Jean-Michel COSTE 2024-09-30 22:05:23 UTC
Created attachment 196806 [details]
A file to test the bug, within a macro

Try to assign a macro (for example the one in file) to the picture in cell A1
Comment 2 Jean-Michel COSTE 2024-09-30 22:09:40 UTC
Created attachment 196807 [details]
A file to test the bug, within a macro
Comment 3 Jean-Michel COSTE 2024-09-30 22:11:02 UTC
Comment on attachment 196806 [details]
A file to test the bug, within a macro

Please delete this file. It is a writer file to test macro. It works.
Comment 4 Jean-Michel COSTE 2024-09-30 22:12:32 UTC
Comment on attachment 196807 [details]
A file to test the bug, within a macro

The good file to test the bug
Comment 5 m_a_riosv 2024-10-01 16:35:50 UTC
Reproducible, even in Safe Mode, with
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Not reproducible with
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8f3e84133628c420b7cc9896d6e92e2d66eae0b2
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 6 m_a_riosv 2024-10-01 16:37:37 UTC
Latest version that works on the ones I have installed.
Version: 24.2.6.2 (X86_64) / LibreOffice Community
Build ID: ef66aa7e36a1bb8e65bfbc63aba53045a14d0871
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 7 BogdanB 2024-10-12 05:10:02 UTC
I bibisected but I get a strange commit, not related to macro. Heiko, could you take a look? If I am wrong, sorry.


author	Heiko Tietze <tietze.heiko@gmail.com>	2024-03-21 11:50:40 +0100
committer	Heiko Tietze <heiko.tietze@documentfoundation.org>	2024-03-22 13:06:37 +0100
commit 9c8b240e7cad6ef74e16ad83d45957737389aa90 (patch)
tree 18e9eadb4c68c80bb1046512dfdb2b7c570e70d2
parent 64aa51cb2fcfb6cfb325ffdc2567b0a2f0661007 (diff)

Resolves tdf#160282 - Ranges references text colors for dark backgrounds
Change-Id: I3d3bb22302ad5016c962d606e80c2e9942301fbd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165095
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Comment 8 Heiko Tietze 2024-10-21 14:36:58 UTC
After ExecuteMacroAssign() some jit-function crashes that I cannot debug. Likely unrelated to my patch. Perhaps Noel has an idea.
Comment 9 Noel Grandin 2024-10-22 08:34:11 UTC
This doesn't crash or freeze for me on current master.

Heiko, the thing you see is in your debugger is normal, just do "c" for continue.
Comment 10 Heiko Tietze 2024-10-22 09:00:56 UTC
It's F5 in the IDE... but you are right, no crash today. Elusive bug.