https://bugs.documentfoundation.org/show_bug.cgi?id=103447

--- Comment #19 from Florian Schoonbeek 
<[email protected]> ---
Version

26.2.4.2 (x86_64)

Description

When editing a Calc cell that contains a partially applied hyperlink (created
via Ctrl+K) using the formula bar, deleting characters results in incorrect
behavior: the wrong characters are removed.

The deletion position appears to be offset relative to the visible cursor
position. The offset seems to correlate with the length of the hyperlink text
segment in the cell.

However, when editing the same cell directly in the sheet (via F2 or
double-click), the issue does not occur.

Steps to Reproduce
1. Create a new Calc document.
2. Select any cell

3. Type: test
4. Select the word test.
5. Press Ctrl+K (Insert Hyperlink).

6. Set the URL to: https://www.google.com, and confirm.

7. Add additional text after the hyperlink so the cell contains for example:
test abcdefghijklmnop

8. Select the cell.
9. Edit the cell using the formula bar.
10. Place the cursor anywhere in the text after the hyperlink.
11. Press Backspace or Delete followed by Enter or clicking outside of the cell

Expected Result

The character immediately adjacent to the cursor should be deleted.

Actual Result

The wrong character is deleted. The deletion position is shifted compared to
the visible cursor position.

So for instance, removing the f in the given example text and pressing Enter
causes the i to be removed instead

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to