Description: Very strange problem in my complex spreadsheet due to a long comment in a cell. Unbelievable Please enable de macros and try to reproduce the steps. You can use a virtual machine if you don't trust my macros It is very complex to reproduce from scratch, so I need to send you the XLSM file that works fine with Microsoft. Please request me the file, because I cannot see here any place to attach the file Steps to Reproduce: 1.Open the file I want to attach but there is no option. Please request me the file 2.Accept the popup message shown 3.Press the '>>> CALCULAR <<<' button on the first row 4.Accept the popup message shown 5.Perform a double click event over the cell 13-F 6.It will appears something like a tooltip message. Close it 7.Perform a double click event over the cell 5-F 8.It should appear something similar to step 6, but it appears a formula 9.Remove the existing comment in cell 2-D 10.Perform again a double click event over the cell 5-F 11.Then you can check the expected message, like in step 6. -> the double click event is not executed due to the long comment in cell 2D I can provide a video Actual Results: Step 8 is wrong Expected Results: double click working for all cells Reproducible: Always User Profile Reset: No Additional Info: [Information automatically included from LibreOffice] Locale: es Module: SpreadsheetDocument [Information guessed from browser] OS: Windows (All) OS is 64bit: no
Created attachment 187282 [details] the file with macros where the problem can be reproduced
Reproduced. I tested with older versions and before 6.1 the file did not behave correctly at all. So from the time it started working more or less correctly, the problem has existed. Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 85a47bbb8340e65a19dc1ceaac768902a771ee77 CPU threads: 8; OS: Linux 6.3; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 17 May 2023
The problem arises in sc/source/ui/unoobj/viewuno.cxx in ScTabViewObj::GetClickedObject where it wrongly selects the hidden comment.
(In reply to Andreas Heinisch from comment #3) > The problem arises in sc/source/ui/unoobj/viewuno.cxx in > ScTabViewObj::GetClickedObject where it wrongly selects the hidden comment. Hi, any solution? Too much time without fixing this bug.