Issue 120550

Summary: End key corrupts path in hyperlink dialog
Product: General Reporter: Hagar Delest <delest.hagar>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Minor    
Priority: P3    
Version: 3.4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Hagar Delest 2012-08-13 06:25:11 UTC
Full discussion at:

When editing a hyperlink, under certain circumstances, pressing the End key mangles the path. It seems to be triggered by spaces in the name.

How to reproduce:
1) Open or create a document in Writer or Calc, ...
2) Insert > Hyperlink
3) Hyperlink Type: Document; select a file that has spaces in the name; finish with "Open"

File path appears in dialog with normal space characters; same path as "URL" field appears with %20 for spaces.

4)Click "Apply"

The hyperlink is inserted in the document; in the dialog, spaces in the path now appear as %20.

Click in the path field; press "End" key.

-> Path is now corrupted: beginning of the file name is added before the file name itself. No pattern found for this new string.
Comment 1 Hagar Delest 2012-08-13 06:28:27 UTC
NB: confirmed on 3.2 and 3.3 too.