| Summary: | Clicking on a cell shows garbage as the formula | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Martin Feeney <mjfeeney> |
| Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | normal | CC: | mjfeeney, stephane.guillou |
| Priority: | medium | ||
| Version: | 7.4.2.3 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
Screenshots showing the issue in action
Example Spreadsheet to recreate the problem |
||
|
Description
Martin Feeney
2022-11-18 12:31:23 UTC
Created attachment 183665 [details]
Screenshots showing the issue in action
If I understand well, what you see is expected. When editing a formula, clicking on another cell will insert the coordinate in the formula you are currently editing. Before clicking on another cell, you will have to get out of edit mode by e.g. pressing Enter. If you only want to see the formula and not edit it, click once on the cell and look at the formula bar (aka "input line"). Thanks for the update. Did you run the recreation on your system? Does each cell show the correct data? I am not trying to edit the cell - I just wanted to see it's formula (to verify that it was correct). I did this same experiment on MS Excel and SoftMaker Office2001 PlanMaker. Both behave as I expect. I could double click on a cell and it would appear where I expected and with the data I expected. I believe your behavior is incorrect. I installed LibreOffice to try it out. If this is appropriate behavior, I will be deinstalling the product. Created attachment 183669 [details]
Example Spreadsheet to recreate the problem
Use this spreadsheet to recreate the problem.
Steps:
1) Double left-click on cell N33. You should see the cell replaced with the formula =SUM(B33:M33).
2) Move the cursor cell N32 and double left-click. Cell N33 is overwritten with the value =SUM(N32B33:M33). I expected N32 to display =SUM(B32:M32). MS Excel and Softwork Office 2001 display this value.
There are two issues: Cell N33 is not restored to it's value (15705) and the formula for cell N32 is partially written into Cell N33.
If you repeat the process but hit the ESC key between steps 1 and 2, the program behaves as expected.
Related question in the ask site: https://ask.libreoffice.org/t/disable-calc-automatically-selecting-a-cell-when-clicking-out-of-another-cell/83939 Thank you for sharing the example document, Martin! Apologies, but once again: it behaves as planned. Double-clicking on a cell will start edit mode, and the cursor will be placed where the pointer was. In edit mode _for a formula_, clicking another cell will insert a reference in the formula. This is why double-clicking (or single click, the number of clicks does not change the behaviour) will insert the cell reference in the formula currently being edited. This is useful to insert cell or range references quickly with the mouse. (In reply to LeroyG from comment #5) > Related question in the ask site: > > https://ask.libreoffice.org/t/disable-calc-automatically-selecting-a-cell- > when-clicking-out-of-another-cell/83939 As Leroy is showing, some users would like to be able to turn this off. If you'd like that option as well, please feel free to open a new bug report for that (and mark it as an "enhancement"). (I couldn't see an existing one.) Cheers! |