Bug 150010 - Edit existing cell contents appears to succeed but produces unintended results
Summary: Edit existing cell contents appears to succeed but produces unintended results
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-15 20:52 UTC by kkriesel
Modified: 2023-07-26 03:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
snapshot of calc during issue (86.77 KB, image/png)
2022-07-15 20:54 UTC, kkriesel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kkriesel 2022-07-15 20:52:40 UTC
Description:
1) Edit a cell already containing a Url with parameters. For example,
https://www.mersenne.org/report_exponent/?exp_lo=77230000&exp_hi=77230411&full=1
Click on cell to edit, go to edit line, click on position to edit at (after the 4), delete one character with backspace key, type one replacement character ("2"), click on the green check mark to accept the changed displayed content in the edit line (https://www.mersenne.org/report_exponent/?exp_lo=77230000&exp_hi=77230211&full=1), the entire modified URL is displayed in edit line, but only the new typed character "2" is displayed and stored in the cell _afterward_.

Steps to Reproduce:
1. Follow the description step by step
2. It does not matter if the cell is formatted "number general" or "text"
3. Click undo to recover from the loss of the entire URL from the cell.

Actual Results:
2

Expected Results:
https://www.mersenne.org/report_exponent/?exp_lo=77230000&exp_hi=77230211&full=1


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
I don't recall how many releases have had this issue. I vaguely recall ~v4.x being ok in this regard. It's tedious to copy URLs out to edit in another application and then paste them back into another cell after edit, then delete the original cell's contents. Pasting them back into the problem cell does not work either.

Problem is also reproducible in Calc safe mode, not a user profile issue apparently.
Comment 1 kkriesel 2022-07-15 20:54:27 UTC
Created attachment 181287 [details]
snapshot of calc during issue
Comment 2 kkriesel 2022-07-31 01:00:29 UTC
earliest affected version of Libre Office Calc uncertain, certainly v6.x or earlier. Updates to 7.1.1 and to 7.3.4.2 did not resolve.
Observed on Windows 10 x64 version. Not tried on other OSes.
Comment 3 Buovjaga 2023-01-25 13:47:46 UTC
You can't edit hyperlinks in the normal editor. You can edit an existing hyperlink by pressing Ctrl-K or going to Insert - Hyperlink.

Can you confirm this was with linkified text and not pure text? You can disable the linkification from Tools - AutoCorrect Options - Options - URL Recognition.
Comment 4 QA Administrators 2023-07-25 03:16:22 UTC Comment hidden (obsolete)
Comment 5 kkriesel 2023-07-25 18:40:59 UTC
Yes it was a linkified text and a proper usable URL, like the examples above and below it in the screen shot provided last year, until it was improperly converted to a mere "2".
It's kind of a nuisance that by default the software linkifies them on its own, thereby leading to the editing problem and data loss upon edit.
Comment 6 QA Administrators 2023-07-26 03:13:54 UTC Comment hidden (obsolete)