Bug 155305 - A double click event in a cell does not work because a comment is too long in another cell
Summary: A double click event in a cell does not work because a comment is too long in...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Calc-Comments
  Show dependency treegraph
 
Reported: 2023-05-14 22:01 UTC by Carlos Codina
Modified: 2026-01-14 03:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
the file with macros where the problem can be reproduced (2.07 MB, application/vnd.ms-excel.sheet.macroEnabled.12)
2023-05-14 22:02 UTC, Carlos Codina
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Codina 2023-05-14 22:01:33 UTC
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
Comment 1 Carlos Codina 2023-05-14 22:02:45 UTC
Created attachment 187282 [details]
the file with macros where the problem can be reproduced
Comment 2 Buovjaga 2023-05-17 13:48:13 UTC
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
Comment 3 Andreas Heinisch 2023-07-19 09:22:55 UTC
The problem arises in sc/source/ui/unoobj/viewuno.cxx in ScTabViewObj::GetClickedObject where it wrongly selects the hidden comment.
Comment 4 Carlos Codina 2024-01-14 11:58:57 UTC Comment hidden (no-value)
Comment 5 QA Administrators 2026-01-14 03:11:57 UTC
Dear Carlos Codina,

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