[Libreoffice-bugs] [Bug 121336] New: Can not edit Cell text using Edit Bar if text contains auto-detected hyperlinks (result is different than shown in Edit Bar)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Nov 10 18:35:21 UTC 2018


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

            Bug ID: 121336
           Summary: Can not edit Cell text using Edit Bar if text contains
                    auto-detected hyperlinks (result is different than
                    shown in Edit Bar)
           Product: LibreOffice
           Version: 6.2.0.0.alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jim.avera at gmail.com

Description:
If a cell contains a string and a sub-sequence in that string is auto-detected
as a hyperlink, then subsequent attempts to edit the text appear to work in the
Edit Bar but actually result in a corrupted result.

Please see the attached demo spreadsheet ("UneditableCellString.ods")

Steps to Reproduce:
1. Type "/aaa;\\bbb\ccc;\\ddd\eee" into a cell (sans quotes)
    (\\bbb\ccc and \\ddd\eee will be auto-detected as hyperlinks)
2. Click elsewhere, then re-select the cell
3. In the Edit Bar, change "bbb" to "xxx"
4. Click the green check icon

Actual Results:
The edit is corrupted: The "bbb" which was changed to "xxx" in the Edit Bar was
not actually changed, and the "xxx" ended up at the end of the entire string.

Also, copy-and-paste of the text in the Edit Bar produces the corrupted result,
not what you see in the Edit Bar.

Expected Results:
The cell text should be changed to exactly what is shown in the Edit Bar (i.e.
what the user wanted).   

Any URL auto-detects should be uh-done and re-done around edits.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.2.0.0.alpha1
Build ID: ff46ad24d1d3cbcea45895520483ed1fd4ff488b
CPU threads: 12; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181110/760668a4/attachment.html>


More information about the Libreoffice-bugs mailing list