Issue 77374 - Edited url text is autocorrected to an invalid link
Summary: Edited url text is autocorrected to an invalid link
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: OOo 2.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-15 06:29 UTC by Joe Smith
Modified: 2017-05-20 10:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Example document (7.96 KB, application/vnd.sun.xml.calc)
2007-05-15 06:30 UTC, Joe Smith
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Joe Smith 2007-05-15 06:29:48 UTC
1. File > New > Spreadsheet
2. Tools > AutoCorrect > Options > URL recognition = ON
3. Tools > Cell Contents > AutoInput = ON
4. In cell A1, type: www.example.com <Enter>
   * The link will be recognized and activated.
5. In cell A2, type: w (completion --> ww.example.com) <Enter>
   * The link is not recognized.

Now, edit the inactive plain text link to prepend "http://"...

6. In cell A2, hit F2 (into edit mode)
   <Home> http:// <Enter>
   * The link is recognized but converted to the invalid link "http://www"

Expected result: The link should be converted to "http://www.example.com"
Comment 1 Joe Smith 2007-05-15 06:30:36 UTC
Created attachment 45110 [details]
Example document
Comment 2 kpalagin 2007-06-10 19:47:52 UTC
Confirming with 2.2 on WinXP - as described.
Issue http://www.openoffice.org/issues/show_bug.cgi?id=77373 is related RFE.
Comment 3 frank 2007-07-09 11:22:04 UTC
Hi,

I think this is from the break iterator which interprets the first dot as a
break and therefore converts only the first part of the string to a link.

As a workaround : Place the cursor at the end of the line and press return. The
link gets converted.

@tl
Point 5 of the description seems to be the single point of interesst in this
case. Seems to be the edit engine, therefore one for you.

Frank
Comment 4 Joe Smith 2013-09-12 21:38:28 UTC
I believe this issue can be closed.

Testing AOO 4.0 on Fedora Linux, I cannot reproduce the problem. The autocompleted URL is correct and recognized normally on entry.

Setting RESOLVED/FIXED--ok?