Description: In some circumstances, when adding hyperlink to a note in calc, the cursor might end in an unexpected locations. See steps to reproduce below. Steps to Reproduce: 1. Start a new calc document 2. Right-click any cell, "insert comment" 3. Paste an URLthat is longer than the current comment width 4. Press enter, to add more content to the comment, on a new line 5. Type something and watch the cursor position Actual Results: The cursor is located somewhere in the lines that contain the URL. Expected Results: The cursor is located on the line where I'm currently typing. Reproducible: Always User Profile Reset: No Additional Info: Also reproduced on Linux/Intel, on Debian's LO build. I'm expecting this to be platform-independent.
Reproduced on Version 24.8.4.2 - MacOS 15.3 Not reproduced on Version: 24.2.7.2 (AARCH64) / LibreOffice Community Build ID: 420(Build:2) CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: en-US Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.2 Calc: threaded Between the 2 versions, behavior changes at step 4 24.2.7.2 (and maybe after) -> When pressing enter, URL is detected and goes on one line, exceeding the width of the comment. Adding more content works fine. 24.8.4.2 (and maybe before)-> When pressing enter, URL is detected and stays multi-lines in the comment width but the cursor goes at the beginning on the second line. Adding more content adds it below the displayed URL but the cursor moves lines above. Seems to be a regression somewhere between 24.2.7.2 & 24.8.4.2
Bibisected and found a duplicate. *** This bug has been marked as a duplicate of bug 159861 ***